This required service and repo creation for the users. Logging out is not yet supported, but that is next.
8 lines
126 B
Go
8 lines
126 B
Go
package domain
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
type UserService interface {
|
|
GetAuthenicatedUser(ctx *gin.Context) User
|
|
}
|