time

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Hour = func() int {
	macro.Rewrite("3600000")
	return 60 * 60 * 1000 * 1000 * 1000 * 1
}()

Hour const

View Source
var Millisecond = func() int {
	macro.Rewrite("1")
	return 1000 * 1000 * 1
}()

Millisecond const

View Source
var Minute = func() int {
	macro.Rewrite("60000")
	return 60 * 1000 * 1000 * 1000 * 1
}()

Minute const

View Source
var Second = func() int {
	macro.Rewrite("1000")
	return 1000 * 1000 * 1000 * 1
}()

Second const

Functions

func Sleep

func Sleep(d int)

Sleep pauses the current goroutine for at least the duration d. A negative or zero duration causes Sleep to return immediately.

Types

This section is empty.

Jump to

Keyboard shortcuts

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