function

package
v0.0.0-...-b5dcede Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayKeyExits

func ArrayKeyExits(key string, dataKeys *gabs.Container) bool

func DBFields

func DBFields(values interface{}) []string

DBFields reflects on a struct and returns the values of fields with `db` tags, or a map[string]interface{} and returns the keys.

func FieldName

func FieldName(fields []string) string

func FieldPrepare

func FieldPrepare(fields []string) string

func FieldValue

func FieldValue(fields []string) string

func GenerateArg

func GenerateArg(values interface{}) []interface{}

DBFields reflects on a struct and returns the values of fields with `db` tags, or a map[string]interface{} and returns the keys.

func KeyExits

func KeyExits(value interface{}, keyMap []interface{}) bool

func StringToTime

func StringToTime(s string) (time.Time, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL