Documentation
¶
Index ¶
- func Bound[T constraints.Ordered](a, min, max T) T
- func If[T any](ok bool, trueValue, falseValue T) T
- func MD5(str string) string
- func Max[T constraints.Ordered](a, b T) T
- func Min[T constraints.Ordered](a, b T) T
- func Str2Bool(str string) bool
- func Str2Float32(str string) float32
- func Str2Float64(str string) float64
- func Str2Int32(str string) int32
- func Str2Int64(str string) int64
- func Str2Uint32(str string) uint32
- func Str2Uint64(str string) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bound ¶
func Bound[T constraints.Ordered](a, min, max T) T
func Max ¶
func Max[T constraints.Ordered](a, b T) T
func Min ¶
func Min[T constraints.Ordered](a, b T) T
func Str2Float32 ¶
func Str2Float64 ¶
func Str2Uint32 ¶
func Str2Uint64 ¶
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.