Documentation ¶
Index ¶
Constants ¶
View Source
const SHEETNAME = "Sheet1"
Variables ¶
This section is empty.
Functions ¶
func FindColumn ¶
func GenInsertSQL ¶
func GetTableName ¶
func GetTableName(data interface{}) string
Types ¶
type PersonDemo ¶
type PersonDemo struct { Id string `json:"id" gorm:"column:id;primary_key"` //uuid User_id string `json:"guser_id" gorm:"column:guser_id" gensql:"notnull"` //uuid Age int `json:"age" gorm:"column:age" gensql:"notnull"` //int Weight float32 `json:"weight" gorm:"column:weight" gensql:"notnull"` //float32 Create_time time.Time `json:"create_time" gorm:"column:create_time" gensql:"notnull"` //timestamp without time zone }
func (PersonDemo) TableName ¶
func (PersonDemo) TableName() string
Click to show internal directories.
Click to hide internal directories.