一些值得推荐的golang库

通用工具类增强库:

goutil

项目地址:https://github.com/gookit/goutil

简介:Helper Utils(700+): int, byte, string, array/slice, map, struct, dump, convert/format, error, web/http, cli/flag, OS/ENV, filesystem, system, test/assert, time and more. Go 常用的一些工具函数:数字,字符串,数组,Map,结构体,反射,文本,文件,错误,时间日期,特殊处理,格式化,常用信息获取等等。

lancet

项目地址:https://github.com/duke-git/lancet/

官方网址:https://www.golancet.cn/   包括了文档

简介:lancet(柳叶刀)是一个全面、高效、可复用的go语言工具函数库。 lancet受到了java apache common包和lodash.js的启发。

  • 👏 全面、高效、可复用。
  • 💪 600+常用 go 工具函数,支持 string、slice、datetime、net、crypt...
  • 💅 只依赖 go 标准库和 golang.org/x。
  • 🌍 所有导出函数单元测试覆盖率 100%。

持续补充。

posted @ 2024-02-04 12:41  黑月教主  阅读(69)  评论(0编辑  收藏  举报