Back to godoc.org
Duration be used toml unmarshal string time, like 1s, 500ms.
Shrink will decrease the duration by comparing with context's timeout duration and return new timeout\context\CancelFunc.
type Time int64
Time be used to MySql timestamp converting.
Package Files ¶
Documentation was rendered with GOOS=linux and GOARCH=amd64.