Documentation ¶
Index ¶
- func GE[T constraints.Ordered](x, y T) bool
- func GT[T constraints.Ordered](x, y T) bool
- func InArray[E constraints.Ordered, T any](x E, arr []T) bool
- func LE[T constraints.Ordered](x, y T) bool
- func LT[T constraints.Ordered](x, y T) bool
- func ReflectValueof(in reflect.Type, val any) reflect.Value
- func ToFloat(i interface{}) (float64, error)
- func ToInt(x any) int
- func ToIntWithDefaultValue(i interface{}, defaultVal int) int
- func ToString(i interface{}) string
- func ToStringWithDefaultValue(i interface{}, defaultVal string) string
- func TryParseTime(candidate string) (time.Time, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GE ¶
func GE[T constraints.Ordered](x, y T) bool
func GT ¶
func GT[T constraints.Ordered](x, y T) bool
func LE ¶
func LE[T constraints.Ordered](x, y T) bool
func LT ¶
func LT[T constraints.Ordered](x, y T) bool
func ToIntWithDefaultValue ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.