package
0.0.0-20241228112321-7551c244121d
Repository: https://github.com/opennox/libs.git
Documentation: pkg.go.dev
# Functions
Get the default platform.
New returns a platform based on the real hardware.
RandInt generates a random integer.
RandSeed seeds the pseudorandom generator with s specific seed.
RandSeedTime uses time-based seed for the pseudorandom generator.
Set the default platform.
Sleep wait for a specific duration.
Ticks returns a duration from the platform init.
TimeSeed returns a time-based seed for the pseudorandom generator.
# Interfaces
Platform is an interface that controls time and randomness in the program.