Documentation ¶
Index ¶
- func Bound[T constraints.Ordered](a, min, max T) T
- func If[T any](ok bool, trueValue, falseValue T) T
- func Int32ToString(i int32) string
- func Int64ToString(i int64) string
- func MD5(str string) string
- func Max[T constraints.Ordered](a, b T) T
- func Min[T constraints.Ordered](a, b T) T
- func StrToBool(str string) bool
- func StrToFloat32(str string) float32
- func StrToFloat64(str string) float64
- func StrToInt32(str string) int32
- func StrToInt64(str string) int64
- func StrToUint32(str string) uint32
- func StrToUint64(str string) uint64
- func Uint32ToString(i uint32) string
- func Uint64ToString(i uint64) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bound ¶
func Bound[T constraints.Ordered](a, min, max T) T
func Int32ToString ¶ added in v0.1.7
func Int64ToString ¶ added in v0.1.7
func Max ¶
func Max[T constraints.Ordered](a, b T) T
func Min ¶
func Min[T constraints.Ordered](a, b T) T
func StrToFloat32 ¶ added in v0.1.7
func StrToFloat64 ¶ added in v0.1.7
func StrToInt32 ¶ added in v0.1.7
func StrToInt64 ¶ added in v0.1.7
func StrToUint32 ¶ added in v0.1.7
func StrToUint64 ¶ added in v0.1.7
func Uint32ToString ¶ added in v0.1.7
func Uint64ToString ¶ added in v0.1.7
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup.
|
Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup. |
Click to show internal directories.
Click to hide internal directories.