Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Validate *validator.Validate ValidateTrans ut.Translator )
表单验证 https://github.com/go-playground/validator
View Source
var NewFile = newFile()
View Source
var SnowFlake *snowflake.Node
Functions ¶
func EncodePassword ¶
func InitSnowflake ¶
func ValidatePassword ¶
func ValidateStruct ¶
func ValidateStruct(s interface{}) error
Types ¶
Directories ¶
Path | Synopsis |
---|---|
* Desc: * Package: cache * File Created: Sunday, 21st March 2021 4:04:59 pm * Author: douxuefeng (i@douxuefeng.cn) * ----- * Last Modified: Sunday, 21st March 2021 4:04:59 pm * Modified By: douxuefeng (i@douxuefeng.cn>) * Desc: * Package: cache * File Created: Sunday, 21st March 2021 3:55:50 pm * Author: douxuefeng (i@douxuefeng.cn) * ----- * Last Modified: Sunday, 21st March 2021 3:55:50 pm * Modified By: douxuefeng (i@douxuefeng.cn>)
|
* Desc: * Package: cache * File Created: Sunday, 21st March 2021 4:04:59 pm * Author: douxuefeng (i@douxuefeng.cn) * ----- * Last Modified: Sunday, 21st March 2021 4:04:59 pm * Modified By: douxuefeng (i@douxuefeng.cn>) * Desc: * Package: cache * File Created: Sunday, 21st March 2021 3:55:50 pm * Author: douxuefeng (i@douxuefeng.cn) * ----- * Last Modified: Sunday, 21st March 2021 3:55:50 pm * Modified By: douxuefeng (i@douxuefeng.cn>) |
sms
|
|
aliyun_sms
* @Author: i@douxuefeng.cn * @Date: 2021-10-13 13:38:48 * @LastEditTime: 2021-10-13 14:05:19 * @LastEditors: i@douxuefeng.cn * @Description: * @FilePath: \go-utils\sms\aliyun_sms\aliyun.go
|
* @Author: i@douxuefeng.cn * @Date: 2021-10-13 13:38:48 * @LastEditTime: 2021-10-13 14:05:19 * @LastEditors: i@douxuefeng.cn * @Description: * @FilePath: \go-utils\sms\aliyun_sms\aliyun.go |
* @Author: i@douxuefeng.cn * @Date: 2021-10-23 13:44:03 * @LastEditTime: 2021-10-30 15:36:21 * @LastEditors: i@douxuefeng.cn * @Description: 加密算法 * @FilePath: \go-utils\strs\string_encript.go
|
* @Author: i@douxuefeng.cn * @Date: 2021-10-23 13:44:03 * @LastEditTime: 2021-10-30 15:36:21 * @LastEditors: i@douxuefeng.cn * @Description: 加密算法 * @FilePath: \go-utils\strs\string_encript.go |
wechat
|
|
mp/params
* Desc: * Package: params * File Created: Friday, 26th March 2021 8:45:18 am * Author: douxuefeng (i@douxuefeng.cn) * ----- * Last Modified: Friday, 26th March 2021 8:45:18 am * Modified By: douxuefeng (i@douxuefeng.cn>) * Desc: * Package: params * File Created: Saturday, 27th March 2021 9:35:31 pm * Author: douxuefeng (i@douxuefeng.cn) * ----- * Last Modified: Saturday, 27th March 2021 9:35:31 pm * Modified By: douxuefeng (i@douxuefeng.cn>) * @Author: i@douxuefeng.cn * @Date: 2021-10-25 16:15:38 * @LastEditTime: 2021-10-29 10:57:32 * @LastEditors: i@douxuefeng.cn * @Description: * @FilePath: \go-utils\wechat\mp\params\sns.go
|
* Desc: * Package: params * File Created: Friday, 26th March 2021 8:45:18 am * Author: douxuefeng (i@douxuefeng.cn) * ----- * Last Modified: Friday, 26th March 2021 8:45:18 am * Modified By: douxuefeng (i@douxuefeng.cn>) * Desc: * Package: params * File Created: Saturday, 27th March 2021 9:35:31 pm * Author: douxuefeng (i@douxuefeng.cn) * ----- * Last Modified: Saturday, 27th March 2021 9:35:31 pm * Modified By: douxuefeng (i@douxuefeng.cn>) * @Author: i@douxuefeng.cn * @Date: 2021-10-25 16:15:38 * @LastEditTime: 2021-10-29 10:57:32 * @LastEditors: i@douxuefeng.cn * @Description: * @FilePath: \go-utils\wechat\mp\params\sns.go |
Click to show internal directories.
Click to hide internal directories.