modulepackage
0.0.0-20230503120003-033bb3f9785d
Repository: https://github.com/celestiaorg/tools.git
Documentation: pkg.go.dev
# README
tools
A number of frequently used codes.
We need to gradually move these codes to the utils
repo.
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
useful for debugging.
No description provided by the author
It generates a random boolean status the `chancePercent` should be between 0 and 100.
This function receives a pair of min and max float64 numbers and generates a random number in that range (inclusive).
This function receives a pair of min and max int64 numbers and generates a random number in that range (inclusive).
This function receives the length of a string and generates a random string.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
CodeError is a error with a code (like 404 Not Found).
# Interfaces
No description provided by the author