Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAdminLogin ¶
func AddAdminLogin(adminLogin AdminLogin) error
Types ¶
type AdminLogin ¶
type AdminLogin struct { gorm.Model AdminID uint `gorm:"not null"` Token string `gorm:"not null"` Remember bool `gorm:"default:false"` IP string `gorm:"not null"` }
func GetAdminLogin ¶
func GetAdminLogin(adminLogin AdminLogin) (*AdminLogin, error)
Click to show internal directories.
Click to hide internal directories.