Categorygithub.com/kobyt2/common-services
repository
0.0.0-20240925025052-f0874a772891
Repository: https://github.com/kobyt2/common-services.git
Documentation: pkg.go.dev

# Packages

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

# README

golang 的common-services里面包含的一些基础功能

Installation

go get github.com/kobyt2/common-services/logger

go-zap-logger

日志是基于 Zap 的简单日志库,支持根据日志级别记录到不同的文件 可根据yaml文件配置调整。

aes

采用对称加密aes的ecb,cbc模式来进行加密

bcrypt

采用 bcrypt 的方式来加密密码和手机号等代替MD5、SHA256