golang之函数工具库lancet

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

简体中文 | English

特性

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

 

github: https://github.com/duke-git/lancet

 

安装:

go1.18以上版本, 使用v2.x.x

go get github.com/duke-git/lancet/v2 //安装v2最新版本v2.x.x

 

 

更多使用文档:  https://github.com/duke-git/lancet/blob/main/README_zh-CN.md

posted @ 2023-09-01 09:15  X-Wolf  阅读(149)  评论(0编辑  收藏  举报