Documentation ¶
Index ¶
- func ArrayContains(array interface{}, contains interface{}, kind reflect.Kind) (has bool, err error)
- func GetFieldValue(s interface{}, fieldName string) interface{}
- func GetJsonBody(r *http.Request) (map[string]interface{}, error)
- func GetRecordColumns(record interface{}) (columns []string)
- func GetRequestData(keys []string, r *http.Request) (data map[string]interface{}, errRes *components.ApiResponse)
- func ParseByteArray(data *[]byte, convertTo reflect.Kind) interface{}
- func QueryHasParams(requiredParams []string, params url.Values) []string
- func RequestHasParams(requiredParams []string, r *http.Request) []string
- func ScanRow(row *sql.Row, columns []string) (results map[string]*[]byte, err error)
- func ScanRows(columns []string, rows *sql.Rows) (results map[string]*[]byte)
- func SetData(record interface{}, data map[string]*[]byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayContains ¶
func GetFieldValue ¶
func GetFieldValue(s interface{}, fieldName string) interface{}
func GetRecordColumns ¶
func GetRecordColumns(record interface{}) (columns []string)
func GetRequestData ¶
func GetRequestData(keys []string, r *http.Request) (data map[string]interface{}, errRes *components.ApiResponse)
func ParseByteArray ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.