go-pkg

module
v0.0.0-...-270bddf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2024 License: MIT

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 等请求体格式

Directories

Path Synopsis
Package constraints defines a set of useful constraints to be used with type parameters.
Package constraints defines a set of useful constraints to be used with type parameters.
examples/server command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL