Documentation
¶
Index ¶
- func GetNamedTagForField(model interface{}, fieldName, tagName string) string
- func GetValueOfField(model interface{}, fieldName string) interface{}
- func ImportJsonFieldsValues(model interface{}, data JsonFieldsValuesFormat, ...) []interface{}
- func MakeCreate(model interface{}) string
- func MakeInsert(model interface{}) (string, []interface{})
- func MakeUpdate(model interface{}) (string, []interface{})
- func TableName(model interface{}) string
- type JsonFieldsValuesFormat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNamedTagForField ¶
func GetValueOfField ¶
func GetValueOfField(model interface{}, fieldName string) interface{}
func ImportJsonFieldsValues ¶
func ImportJsonFieldsValues(model interface{}, data JsonFieldsValuesFormat, unmarshal func([]byte) interface{}) []interface{}
func MakeCreate ¶
func MakeCreate(model interface{}) string
func MakeInsert ¶
func MakeInsert(model interface{}) (string, []interface{})
func MakeUpdate ¶
func MakeUpdate(model interface{}) (string, []interface{})
Types ¶
type JsonFieldsValuesFormat ¶
Click to show internal directories.
Click to hide internal directories.