package
0.0.0-20240707200043-4b97b8a13366
Repository: https://github.com/rakin92/go-rest-service.git
Documentation: pkg.go.dev

# Functions

GothUserToDBUser transforms [user] goth to db model.
GothUserToDBUserProfile transforms [user] goth to db model.

# Structs

BaseModel defines the common columns that all db structs should hold, usually db structs based on this have no soft delete.
BaseModelSeq defines the common columns that all db structs should hold, with an INT key.
BaseModelSeqSoftDelete defines the common columns that all db structs should hold, usually.
BaseModelSoftDelete defines the common columns that all db structs should hold, usually.
Permission defines a permission scope for the user.
Role defines a role for the user.
User defines a user for the service.
UserAPIKey generated api keys for the users.
UserPermission relation between an user and its permissions.
UserProfile saves all the related OAuth Profiles.
UserRole relation between an user and its roles.