// Disable disables detrand such that all functions returns the zero value. // This function is not concurrent-safe and must be called during program init. func Disable() { … } // Bool returns a deterministically random boolean. func Bool() bool { … } // Intn returns a deterministically random integer between 0 and n-1, inclusive. func Intn(n int) int { … } var randSeed … func binaryHash() uint64 { … }