package
0.0.0-20201230152808-d1f39bd9dcec
Repository: https://github.com/asofdate/hauth.git
Documentation: pkg.go.dev

# README

utils

获取方式

go get github.com/hzwy23/utils

简介

这是一个自己收集的常用工具包, 目前在asofdate项目中使用.

utils中模块简介:

  1. 配置文件读物模块
  2. http.Response返回处理
  3. i18n国际化处理
  4. log日志处理,基于go-uber封装制作
  5. jwt功能
  6. 日期处理功能
  7. hauth项目中联合主键操作
  8. 加密操作

# Packages

Package config implements configuration file read.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
判断编码是否由 domain id与code number 拼接而成.
第二个参数大于第一个参数时,返回 1 第二个参数小于第一个参数时,返回 -1 第一个参数等于第二个参数时,返回 0.
No description provided by the author
将字符串类型的时间转换成日期.
将字符串格式化未yyyy-mm-dd形式.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
返回编码信息的Code number.
返回编码信息的domain id.
日期校验.