util

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBearerPrefix

func AddBearerPrefix(param string) string

AddBearerPrefix is formatting a token to be sure to have the Bearer prefix

func ExitIfErr

func ExitIfErr(err error)

ExitIfErr exit if there is an error

func IsJson

func IsJson(str string) bool

func IsNumeric

func IsNumeric(s string) bool

func JsonConvertKeyName

func JsonConvertKeyName(property string) []string

func StringToJson

func StringToJson(s string) (map[string]interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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