Help us shape the future of Go! Take the 2026 Go Developer Survey

time

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2017 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