Categorygithub.com/yu1ec/go-pkg
module
0.0.0-20241223072440-270bddf36b8b
Repository: https://github.com/yu1ec/go-pkg.git
Documentation: pkg.go.dev

# README

GO PKG

平时用的一些工具库

安装

go get github.com/yu1ec/go-pkg/...

库介绍

  • errorx: 错误处理库,支持自定义错误码,错误信息,HTTP 状态码等
  • respx: 响应处理库,支持自定义响应码,响应信息,HTTP 状态码等
  • dirx: 目录处理库,支持创建嵌套目录
  • zaplogx: 日志处理库,支持自定义日志级别,日志文件,日志格式等
  • constraints: 泛型约束处理库
  • cachex: 缓存处理库,支持多种缓存实现,包括内存缓存,Redis 缓存等
  • strconvx: 字符串转换处理库,支持多种数字类型转换
  • requestx: HTTP 请求处理库,支持 GET, POST, PUT, PATCH, DELETE 等请求方法,支持 JSON, XML, Multipart 等请求体格式

# Packages

No description provided by the author
Package constraints defines a set of useful constraints to be used with type parameters.
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