Documentation ¶
Index ¶
- Constants
- func AvgInt(args ...int) float64
- func AvgInt64(args ...int64) float64
- func AvgUInt(args ...uint) float64
- func AvgUInt64(args ...uint64) float64
- func IsNil(v interface{}) bool
- func JSONMarshal(t interface{}) []byte
- func MaxInt(args ...int) int
- func MaxInt64(args ...int64) int64
- func MaxUInt(args ...uint32) uint32
- func MinInt(args ...int) int
- func MinInt64(args ...int64) int64
- func MinUInt(args ...uint) uint
- func MinUInt64(args ...uint64) uint64
- func ParseSafeFloat(s string) float64
- func ParseSafeInt(s string) int
- func ParseSafeInt64(s string) int64
- func RandomBetween(min, max int) int
- func SumInt(args ...int) int
- func SumInt64(args ...int64) int64
- func SumUInt(args ...uint) uint
- func SumUInt64(args ...uint64) uint64
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func JSONMarshal ¶
func JSONMarshal(t interface{}) []byte
func ParseSafeFloat ¶
func ParseSafeInt ¶
func ParseSafeInt64 ¶
func RandomBetween ¶
RandomBetween Create random number between two ranges
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package cli provides a minimal framework for creating and organizing command line Go applications.
|
Package cli provides a minimal framework for creating and organizing command line Go applications. |
internal/convert
Package convert contains common conversion interfaces.
|
Package convert contains common conversion interfaces. |
internal/refconv
Package refconv implements the Converter interface by using the standard libraries reflection package.
|
Package refconv implements the Converter interface by using the standard libraries reflection package. |
Package jwt is a JSON Web Token signer, verifier and validator.
|
Package jwt is a JSON Web Token signer, verifier and validator. |
Package validate validates Go structs and types recursively based on tags.
|
Package validate validates Go structs and types recursively based on tags. |
Click to show internal directories.
Click to hide internal directories.