utils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2018 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DebugLogType = "DEBUG"
View Source
var ErrorLogType = "ERROR"
View Source
var InfoLogType = "INFO"

Functions

func ArrayContainsString

func ArrayContainsString(s []string, e string) bool

func CurrentDate

func CurrentDate() string

func CurrentDateWithFormat

func CurrentDateWithFormat(format string) string

func CurrentTimeMilliseconds

func CurrentTimeMilliseconds() int64

func LoadJsonFile

func LoadJsonFile(location string) ([]byte, error)

func LogMessage

func LogMessage(message string, logtype string)

func NanosecondsToMilliseconds

func NanosecondsToMilliseconds(nano int64) int64

func PreventCrash

func PreventCrash()

Types

This section is empty.

Jump to

Keyboard shortcuts

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