Documentation ¶
Index ¶
- Constants
- func Exists(path string) (bool, error)
- func RandBytes(size int64) ([]byte, error)
- func RandFloat64(min float64, max float64) float64
- func RandFromRange(r *mathf.Range) float64
- func RandInt64(min int64, max int64) int64
- func RandIntn(n int) int
- func RandString(size int64) (string, error)
- func RandStringWithCharset(length int, charset string) string
- func SystemMillis() float64
- func SystemSeconds() float64
- type IDCounter
Constants ¶
View Source
const ( NumbersCharset = "0123456789" UpperCaseCharset = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" LowerCaseCharset = "abcdefghijklmnopqrstuvwxyz" AlphaCharset = NumbersCharset + UpperCaseCharset + LowerCaseCharset )
Variables ¶
This section is empty.
Functions ¶
func RandFloat64 ¶
func RandFromRange ¶
func RandString ¶
func RandStringWithCharset ¶
func SystemMillis ¶
func SystemMillis() float64
func SystemSeconds ¶
func SystemSeconds() float64
Types ¶
Click to show internal directories.
Click to hide internal directories.