helpers

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(e error)

func ConvertStringToStruct

func ConvertStringToStruct(s string) (out interface{})

func ConvertStructToString

func ConvertStructToString(in interface{}) string

func GetEpochTime

func GetEpochTime(epochString string) (t time.Time)

func PrintError

func PrintError(s string)

func PrintErrorf

func PrintErrorf(s string)

func PrintSuccess

func PrintSuccess(s string)

func PrintSuccessf

func PrintSuccessf(s string)

func PrintWarning

func PrintWarning(s string)

func PrintWarningf

func PrintWarningf(s string)

func StringToInt

func StringToInt(s string) (n int)

func StringToInt64

func StringToInt64(s string) (n int64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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