common

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentDate

func CurrentDate() string

func GetArgVal

func GetArgVal(name string) interface{}

func GetArgValJSON

func GetArgValJSON(arg string, key string) (val string, err error)

func GetArgValsJSON

func GetArgValsJSON(name string) (attr map[string]interface{}, err error)

func InterfaceToString

func InterfaceToString(value interface{}) string

func IsArgStringDefined

func IsArgStringDefined(name string) bool

func StringToDate

func StringToDate(date string) time.Time

func StringToInt

func StringToInt(value string) int

func StringToJSON

func StringToJSON(text string) (attr map[string]interface{}, err error)

func TrimNewlines

func TrimNewlines(text string) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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