Documentation
¶
Overview ¶
Package structset implements helper functions that involves structs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStructFieldNames ¶
func GetStructFieldNames(Struct interface{}) []string
GetStructFieldNames returns all fields in a given struct
func GetStructFieldTagMap ¶
GetStructFieldTagMap returns a map of tags using keyTag as map key and valueTag as map value
func GetStructFieldTagValues ¶
GetStructFieldTagValues returns all tag names in a given struct for a given tag Note: id tag which is auto increment column in DB will not be returned
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.