Documentation ¶
Index ¶
- func ChangePrecision(flt float64, precision int) float64
- func GenerateByteItems(start byte, end byte, step int, rand bool, repeat int, repeatTag string) (ret []interface{})
- func GenerateFloatItems(start float64, end float64, step float64, rand bool, precision, repeat int, ...) (ret []interface{})
- func GenerateIntItems(start int64, end int64, step int64, rand bool, repeat int, repeatTag string) (ret []interface{})
- func GetPrecision(base float64, step interface{}) (precision int, newStep float64)
- func InterfaceToStr(val interface{}) (ret string)
- func ParseValue(str string) (ret interface{}, typ consts.DataType)
- func RandItems(items []interface{}) (ret []interface{})
- func RandNum(length int) int
- func RandNum64(length int64) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangePrecision ¶
func GenerateByteItems ¶
func GenerateFloatItems ¶
func GenerateIntItems ¶
func GetPrecision ¶
func InterfaceToStr ¶
func InterfaceToStr(val interface{}) (ret string)
func ParseValue ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.