Versions in this module Expand all Collapse all v0 v0.9.35 Feb 7, 2022 v0.9.34 Feb 7, 2022 v0.9.31 Feb 6, 2022 v0.9.30 Feb 6, 2022 Changes in this version + const TableNameTRobotInfo + var Create = Action(0) + var Delete = Action(4) + var FetchDDL = Action(5) + var RetrieveMany = Action(2) + var RetrieveOne = Action(1) + var Update = Action(3) + type Action int32 + func (i Action) String() string + type Albums struct + AlbumID uint32 + ArtistID int32 + Title string + func (a *Albums) BeforeSave() error + func (a *Albums) Prepare() + func (a *Albums) TableName() string + func (a *Albums) Validate(action Action) error + type Artists struct + ArtistID int32 + Name string + func (a *Artists) BeforeSave() error + func (a *Artists) Prepare() + func (a *Artists) TableName() string + func (a *Artists) Validate(action Action) error + type ColumnInfo struct + ColumnLength int64 + ColumnType string + Comment string + DatabaseTypeName string + DatabaseTypePretty string + DefaultValue string + GoFieldName string + GoFieldType string + Index int + IsArray bool + IsAutoIncrement bool + IsPrimaryKey bool + JSONFieldName string + Name string + Notes string + Nullable bool + ProtobufFieldName string + ProtobufPos int + ProtobufType string + type Model interface + BeforeSave func() error + Prepare func() + TableInfo func() *TableInfo + TableName func() string + Validate func(action Action) error + type Orders struct + ID int64 + ProductID int64 + UserID int64 + func (o *Orders) BeforeSave() error + func (o *Orders) Prepare() + func (o *Orders) TableName() string + func (o *Orders) Validate(action Action) error + type TRobotInfo struct + FCorpUin uint32 + FExtUin uint32 + FId uint32 + FRobotAPIURL string + FRobotActiveFlg int32 + FRobotAppID string + FRobotAppVersion string + FRobotAppkey string + FRobotBid string + FRobotBubbleFlag uint64 + FRobotCAppKey string + FRobotCname string + FRobotCompany uint32 + FRobotCompanyAppid uint32 + FRobotCompanyURL string + FRobotCompanyUseProxy uint32 + FRobotCreateTime uint32 + FRobotDeclID uint64 + FRobotDomainGossipID string + FRobotDomainID string + FRobotDomainRepID string + FRobotDomainTaskQaID string + FRobotEname string + FRobotID uint64 + FRobotIcon string + FRobotIconIndex uint32 + FRobotIconType uint32 + FRobotIndustry uint32 + FRobotIndustrySub uint32 + FRobotIsDelete uint32 + FRobotName string + FRobotProjectID string + FRobotToken string + FThirdpartyAccount string + FUpdateTime time.Time + func (*TRobotInfo) TableName() string + func (a *TRobotInfo) BeforeSave() error + func (a *TRobotInfo) Prepare() + func (a *TRobotInfo) Validate(action Action) error + type TableInfo struct + Columns []*ColumnInfo + Name string