Documentation ¶ Index ¶ func InitializeSeed()deprecated type Source func (s Source) Int63() int64 func (s Source) Int64() int64 func (s Source) Seed(int64) func (s Source) Uint64() uint64 type SyncReader func (r *SyncReader) Read(p []byte) (n int, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func InitializeSeed deprecated func InitializeSeed() Deprecated: math/rand has been auto-seeded since Go 1.20; this is a no-op. Types ¶ type Source ¶ type Source struct { io.Reader } func (Source) Int63 ¶ func (s Source) Int63() int64 func (Source) Int64 ¶ func (s Source) Int64() int64 func (Source) Seed ¶ func (s Source) Seed(int64) func (Source) Uint64 ¶ func (s Source) Uint64() uint64 type SyncReader ¶ type SyncReader struct { io.Reader sync.Mutex } func (*SyncReader) Read ¶ func (r *SyncReader) Read(p []byte) (n int, err error) Source Files ¶ View all Source files rng.goseed.go Click to show internal directories. Click to hide internal directories.