Documentation ¶
Index ¶
- Constants
- type UploadData
- type UploadModel
- type UserData
- type UserModel
- func (mdl *UserModel) Create(data map[string]any) (int64, error)
- func (mdl *UserModel) Exists(cond map[string]any) (bool, error)
- func (mdl *UserModel) FetchByUid(fields []any, uid int64) (*UserData, int, error)
- func (mdl *UserModel) FetchRow(fields []any, cond map[string]any) (*UserData, int, error)
- func (mdl *UserModel) UpdateByUid(uid int64, data map[string]any) (int64, error)
Constants ¶
View Source
const ( UploadKindDefault = iota UploadKindImage )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UploadData ¶
type UploadData struct {
Id uint64 `json:"id"`
}
type UploadModel ¶
func NewUploadModel ¶
func NewUploadModel() *UploadModel
type UserModel ¶
func NewUserModel ¶
func NewUserModel() *UserModel
func (*UserModel) FetchByUid ¶
Click to show internal directories.
Click to hide internal directories.