Documentation ¶
Overview ¶
工具
Index ¶
- Constants
- func Base64Decode(src []byte) ([]byte, error)
- func Base64Encode(src []byte) []byte
- func Compare(t1, t2 int) bool
- func CurrentDir() (string, error)
- func Exist(filename string) bool
- func IsBlank(s string) bool
- func IsNotBlank(s string) bool
- func Lower(v string) string
- func MapToSQL_Insert(data map[string]string, table string) (string, []interface{})
- func ParseInteger(v string) int
- func SimilarDegree(str1, str2 string) float64
- func Sleep(sleep int)
- func TimePoor(t string, second int) bool
- func Upper(v string) string
Constants ¶
View Source
const (
//生成sql用到的主键标记
GEN_SQL_IDENTIFY = "_identify"
)
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
func Base64Encode ¶
func MapToSQL_Insert ¶
map转sql insert 当data map某个value值为identify时,标记它为主键标识生成一个id data数据 table表名
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.