base

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDurationToDate

func AddDurationToDate(start string, timer string) string

AddDurationToDate add duration to start date

func CheckErr

func CheckErr(err error)

CheckErr return error

func DateNow

func DateNow() string

DateNow return current UTC date

func LastTillNowDuration

func LastTillNowDuration(start string) time.Duration

LastTillNowDuration duration from start to now

func RepeatFunction

func RepeatFunction(a func())

RepeatFunction repeat given function every n seconds

func StringToDate

func StringToDate(value string) time.Time

StringToDate convert string to date in specific format

Types

This section is empty.

Jump to

Keyboard shortcuts

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