You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
158 B
11 lines
158 B
package auth
|
|
|
|
import "gorm.io/gorm"
|
|
|
|
type AuthHandler struct {
|
|
db *gorm.DB
|
|
}
|
|
|
|
func NewAuthHandler(db *gorm.DB) *AuthHandler {
|
|
return &AuthHandler{db: db}
|
|
}
|
|
|