waymaker-client/go/util.go

10 lines
238 B
Go

package waymaker
import "crypto/rand"
// cryptoRandRead is a thin wrapper so lock.go can call it without importing
// crypto/rand directly (keeps the import set tidy).
func cryptoRandRead(b []byte) (int, error) {
return rand.Read(b)
}