Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestSchema ¶
type TestSchema struct {
ID int `db:"id" torm:"autoIncrement"`
Foo int `db:"foo"`
Bar int `json:"bar"`
CreatedAt time.Time `db:"created_at" torm:"autoCreateTime"`
UpdatedAt time.Time `db:"updated_at" torm:"autoUpdateTime"`
}
func (TestSchema) TableName ¶
func (s TestSchema) TableName() string
Click to show internal directories.
Click to hide internal directories.