Documentation
¶
Index ¶
- Variables
- func ForceCryptRand(forced []byte)
- func ForceGuid(guid string) error
- func ForceIntRand(forced int)
- func ForceIntnRand(forced int)
- func ForceNow(t time.Time)
- func ForceNowTimestamp(timestamp int64)
- func Guidv4String() string
- func ResetCryptRand()
- func ResetGuidv4()
- func ResetIntRand()
- func ResetIntnRand()
- func ResetNow()
- func Seed(s int64)
Constants ¶
This section is empty.
Variables ¶
View Source
var CryptRand func([]byte) (int, error)
View Source
var Guidv4 func() []byte
View Source
var IntRand func() int
View Source
var IntnRand func(int) int
View Source
var Now func() time.Time
Functions ¶
func ForceCryptRand ¶
func ForceCryptRand(forced []byte)
func ForceIntRand ¶
func ForceIntRand(forced int)
func ForceIntnRand ¶
func ForceIntnRand(forced int)
func ForceNowTimestamp ¶
func ForceNowTimestamp(timestamp int64)
func Guidv4String ¶
func Guidv4String() string
func ResetCryptRand ¶
func ResetCryptRand()
func ResetGuidv4 ¶
func ResetGuidv4()
func ResetIntRand ¶
func ResetIntRand()
func ResetIntnRand ¶
func ResetIntnRand()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.