Documentation
¶
Index ¶
- func AsPointer[T bool | int32 | int64 | float32 | float64 | string](scalar T) *T
- func AsScalar[T ~bool | ~int32 | ~int64 | ~float32 | ~float64 | ~string](pointer *T) T
- func Cast(from, to interface{}) error
- func StringToBool(s string, defaultValue bool) bool
- func StringToCommonSeparatedList(s string) []string
- func StringToDouble(s string, defaultValue float64) float64
- func StringToInt32(s string, defaultValue int32) int32
- func StringToInt64(s string, defaultValue int64) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringToBool ¶
func StringToDouble ¶
func StringToInt32 ¶
func StringToInt64 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.