Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArgsDeleteID ¶
type ArgsDeleteID struct { //ID ID int64 `db:"id" json:"id" check:"id"` }
ArgsDeleteID 删除数据参数
type ArgsGetMark ¶
type ArgsGetMark struct { //ID ID int64 `db:"id" json:"id" check:"id"` //标识码 Mark string `db:"mark" json:"mark" check:"mark"` }
ArgsGetMark 获取指定的数据参数
type ArgsUpdateMark ¶
type ArgsUpdateMark struct { //ID ID int64 `db:"id" json:"id" check:"id" empty:"true"` //标识码 Mark string `db:"mark" json:"mark" check:"mark"` //数据集合 Val string `db:"val" json:"val"` }
ArgsUpdateMark 更新数据参数
type FieldsSaving ¶
type FieldsSaving struct { //ID ID int64 `db:"id" json:"id"` //创建时间 CreateAt time.Time `db:"create_at" json:"createAt"` //过期时间 ExpireAt time.Time `db:"expire_at" json:"expireAt"` //标识码 Mark string `db:"mark" json:"mark"` //数据集合 Val string `db:"val" json:"val"` }
func UpdateMark ¶
func UpdateMark(args *ArgsUpdateMark) (data FieldsSaving, err error)
UpdateMark 更新数据
Click to show internal directories.
Click to hide internal directories.