Documentation ¶ Index ¶ func GetDB() *gorm.DB func Setup() func UserLogin(ctx context.Context, user schema.User) (schema.User, error) func UserRegister(ctx context.Context, user schema.User) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetDB ¶ func GetDB() *gorm.DB func Setup ¶ func Setup() func UserLogin ¶ func UserLogin(ctx context.Context, user schema.User) (schema.User, error) func UserRegister ¶ func UserRegister(ctx context.Context, user schema.User) (string, error) Types ¶ This section is empty. Source Files ¶ View all Source files data.go user.go Directories ¶ Show internal Expand all Path Synopsis schema Click to show internal directories. Click to hide internal directories.