Documentation ¶
Index ¶
- Constants
- func Float2Int(v float64, k reflect.Kind) interface{}
- func Hex2Dec(val string) int
- func IntToHexString(v int64, bits int) string
- func Map2Bson(data map[string]interface{}) bson.M
- func String2Bool(s string) (bool, bool)
- func String2Decimal(s string) (int64, bool)
- func String2Float(s string) (float64, bool)
- func String2Hex(s string) (int64, bool)
- func String2NumberArray(s string) ([]float64, bool)
- func String2NumberDecimal(s string) (int64, bool)
- func String2NumberHex(s string) (int64, bool)
- func String2NumberRange(s string) (float64, float64, bool)
- func String2String(s string) (string, bool)
- func String2StringArray(s string) ([]string, bool)
- func String2StringRange(s string) (string, string, bool)
- func String2Value(s string) interface{}
Constants ¶
View Source
const (
RegPatNumberDecimal = "^[+-]*\\d+$"
)
Variables ¶
This section is empty.
Functions ¶
func IntToHexString ¶
func String2Bool ¶
func String2Decimal ¶
func String2Float ¶
func String2Hex ¶
func String2NumberArray ¶
func String2NumberDecimal ¶
func String2NumberHex ¶
func String2String ¶
func String2StringArray ¶
func String2Value ¶
func String2Value(s string) interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.