Documentation ¶
Index ¶
- Constants
- func ArrayContainsString(s []string, e string) bool
- func BoolToInt(b bool) int
- func CurrentDate() string
- func CurrentDateWithFormat(format string) string
- func CurrentTimeMilliseconds() int64
- func LoadJsonFile(location string) ([]byte, error)
- func LogMessage(message string, logtype string)
- func NanosecondsToMilliseconds(nano int64) int64
- func PreventCrash()
- func RemoveStringFromArray(s []string, r string) []string
Constants ¶
View Source
const ( FILE_LOGS_ENV_VAR = "LOGS_TO_FILE" DebugLogType = "DEBUG" InfoLogType = "INFO" ErrorLogType = "ERROR" )
Variables ¶
This section is empty.
Functions ¶
func ArrayContainsString ¶
func CurrentDate ¶
func CurrentDate() string
func CurrentDateWithFormat ¶
func CurrentTimeMilliseconds ¶
func CurrentTimeMilliseconds() int64
func LoadJsonFile ¶
func LogMessage ¶
func PreventCrash ¶
func PreventCrash()
func RemoveStringFromArray ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.