Categorygithub.com/sunyata686/toolkit
modulepackage
0.0.0-20231030072600-ed9ba76d8118
Repository: https://github.com/sunyata686/toolkit.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Decrypt 解密 cipherText: 解密目标字符串 key: 加密Key, 16||24||32位 iv: 加密iv(AES时固定为16位).
字符串切片去重(用hashMap).
Encrypt 加密 plainText: 加密目标字符串 key: 加密Key, 16||24||32位 iv: 加密iv(AES时固定为16位).
get body from url if timeout==0,it means no timeout limit.
IndexStrArr return the first index of string s found in arr; If not found ,return -1.
No description provided by the author
PostForm simulate the front-end initiating a form request; @param valMap map[string]string stores the form field name and form value.
SqlToStr2d 执行sql,导出字符串二维数组,withHeader为true则str2d[1]为sql结果的列名 dsn := "user:pwd@tcp(192.168.1.173:3306)/dbName?charset=utf8&parseTime=True&loc=Local" db, err := gorm.Open(mysql.Open(dsn)).
三维字符串数组转换为xlsx,错误则返回空路径和err.
字符串切片求交集.
字符串切片值是否相等.
StringPurgerForMatch 去除标点空格,英文字母转为小写,中文数字转化为阿拉伯数字.
No description provided by the author
(为微信)二维字符串数组对齐,不足补空格,默认第一行为表头; 如果str2d行宽度不一致,报错。.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author