Documentation ¶
Index ¶
Constants ¶
View Source
const (
MyUserTableName = "MY_USER"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyUser ¶ added in v0.0.2
type MyUser struct { UserId string `json:"userId" xorm:"varchar(200) pk 'USER_ID'"` Name string `json:"name" xorm:"varchar(200) notnull 'NAME'"` NumOfTried int64 `json:"version" xorm:"version 'NUM_OF_TRIED'"` Created time.Time `json:"created" xorm:"created 'CREATED'"` Updated time.Time `json:"updated" xorm:"updated 'UPDATED'"` Deleted time.Time `json:"deleted" xorm:"deleted 'DELETED'"` }
func GetMyUserForUpdateInTxn ¶ added in v0.0.2
func GetMyUserInTxn ¶ added in v0.0.2
func (*MyUser) InsertMyUserInTxn ¶ added in v0.0.2
type MyUserEngine ¶ added in v0.0.2
func (*MyUserEngine) Transaction ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.