Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Msg ¶
type Msg struct { Id int `gorm:"column:id" db:"id" json:"id" form:"id"` //主键 Sender string `gorm:"column:sender" db:"sender" json:"sender" form:"sender"` IsDone int `gorm:"column:is_done" db:"is_done" json:"is_done" form:"is_done"` Msg string `gorm:"column:msg" db:"msg" json:"msg" form:"msg"` CreateAt time.Time `gorm:"column:create_at" db:"create_at" json:"create_at" form:"create_at"` UpdateAt time.Time `gorm:"column:update_at" db:"update_at" json:"update_at" form:"update_at"` }
type RotBaseRepo ¶
type RotBaseRepo struct {
// contains filtered or unexported fields
}
LabelBaseRepo repo
func (RotBaseRepo) GetRotNic ¶
func (r RotBaseRepo) GetRotNic() (string, error)
func (RotBaseRepo) InsertMsg ¶
func (r RotBaseRepo) InsertMsg(msg Msg) error
func (RotBaseRepo) UpdateAccomplish ¶
func (r RotBaseRepo) UpdateAccomplish(id int) error
Click to show internal directories.
Click to hide internal directories.