Documentation ¶
Overview ¶
Package convert common data converter, base "reflect".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetByStr ¶
SetByStr set the literal string to any specified type
The types are as follows:
1. string, convert the original input string.
2. bool, parse string true, True, false, False etc.
3. int64, parse a numeric string to int64.
4. float, parse numeric strings into floats.
5. uint64, parse a numeric string to uint64.
func SetByStrSlice ¶
SetByStrSlice Assigns a string array to another type of slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.