feat: users & authentication implementation

This commit is contained in:
Florian Sylvain committed 2023-08-07 12:31:29 +02:00
1 parent e258dccc1c
commit f33f53ca76
15 files changed
+550 -18

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
package gateways
import . "GohCMS2/domain/user"
type IUserRepository interface {
Get(id uint32) (User, error)
GetByUsername(username string) (User, error)
GetAll() []User
Create(user User) (User, error)
}