Documentation ¶
Index ¶
- type ExampleNameModels
- func (models ExampleNameModels) GetColumns() []string
- func (models ExampleNameModels) GetModels() interface{}
- func (models ExampleNameModels) GetModelsMap() map[string]interface{}
- func (models ExampleNameModels) GetTableName() string
- func (models ExampleNameModels) GetValStruct(arrColumn []string) []interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExampleNameModels ¶
type ExampleNameModels struct { ID int `dbq:"id" json:"id"` Name string `dbq:"name" json:"name"` Status int `dbq:"status" json:"status"` IsActive bool `dbq:"is_active" json:"is_active"` TestID int64 `dbq:"test_id" json:"test_id"` StartDate time.Time `dbq:"start_date" json:"start_date"` CreatedAt time.Time `dbq:"created_at,omitempty" json:"created_at,omitempty"` UpdatedAt time.Time `dbq:"updated_at,omitempty" json:"updated_at,omitempty"` DeletedAt *time.Time `dbq:"deleted_at,omitempty" json:"deleted_at,omitempty"` }
ExampleNameModels example name models struct
func (ExampleNameModels) GetColumns ¶
func (models ExampleNameModels) GetColumns() []string
GetColumns get columns of example name models
func (ExampleNameModels) GetModels ¶
func (models ExampleNameModels) GetModels() interface{}
GetModels get models of example name models
func (ExampleNameModels) GetModelsMap ¶
func (models ExampleNameModels) GetModelsMap() map[string]interface{}
GetModelsMap get models map of example name models
func (ExampleNameModels) GetTableName ¶
func (models ExampleNameModels) GetTableName() string
GetTableName get table name of example name models
func (ExampleNameModels) GetValStruct ¶
func (models ExampleNameModels) GetValStruct(arrColumn []string) []interface{}
GetValStruct get value struct of example name models
Click to show internal directories.
Click to hide internal directories.