package
Version:
v0.0.0-...-2ad5e84
Opens a new window with list of versions in this module.
Published: Jul 30, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
ID = 0
UserID = 10
Name = 11
UpdateName = 100
UpdateAll = 101
)
type Admin struct {
gorm.Model
UserID uint `json:"user_id"`
FullName string `json:"full_name"`
NickName string `json:"nick_name"`
Active bool `json:"active"`
Debug string `json:"debug"`
}
type Result struct {
Status bool `json:"status"`
Error string `json:"error"`
Admin []Admin `json:"admin"`
}
type ResultDatabase struct {
Err error
Admin []Admin
}
type ResultTmpToken struct {
Status bool `json:"status"`
Error string `json:"error"`
Admin string `json:"admin"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.