common

package
v0.0.0-...-55235b3 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Day  time.Duration = time.Hour * 24
	Year time.Duration = Day * 365
)

Variables

This section is empty.

Functions

func Errorf

func Errorf(err error, format string, a ...interface{}) error

func GetMillisecond

func GetMillisecond(t time.Time) int64

func GetTimeStampMillisecond

func GetTimeStampMillisecond() int64

func GetTraceStr

func GetTraceStr(skip int) (output string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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