Versions in this module Expand all Collapse all v0 v0.0.4 Sep 14, 2020 Changes in this version + const DateFormat + const TimeFormat + const UnixTimeUnitOffset + func AddPathSeparatorIfAbsent(path string) string + func CreateDirIfNotExists(dirname string) error + func CurrentTimeMillis() uint64 + func CurrentTimeMillsWithTicker() uint64 + func CurrentTimeNano() uint64 + func DecrementAndGetInt64(v *int64) int64 + func FileExists(name string) (b bool, err error) + func FilePosition(file *os.File) (int64, error) + func Float64Equals(x, y float64) bool + func FormatDate(tsMillis uint64) string + func FormatTimeMillis(tsMillis uint64) string + func IncrementAndGetInt64(v *int64) int64 + func IsBlank(s string) bool + func NewUuid() string + func RunWithRecover(f func()) + func StartTimeTicker() + type AtomicBool struct + func (b *AtomicBool) CompareAndSet(old, new bool) bool + func (b *AtomicBool) Get() bool + func (b *AtomicBool) Set(value bool) + type SliceHeader struct + Cap int + Data unsafe.Pointer + Len int + type StringHeader struct + Data unsafe.Pointer + Len int