go-carbon v2.6.12 发布,轻量级、语义化的 golang 时间处理库

gouguoyin · · 1239 次点击 · 开始浏览    置顶

carbon 是一个轻量级、语义化、对开发者友好的 Golang 时间处理库,提供了对时间穿越、时间差值、时间极值、时间判断、星座、星座、农历、儒略日 / 简化儒略日、波斯历 / 伊朗历的支持。 carbon 目前已捐赠给 [dromara](https://dromara.org/ "dromara") 开源组织,已被 [awesome-go]( https://github.com/avelino/awesome-go#date-and-time "awesome-go") 收录,并获得 [gitee](https://gitee.com "gitee") 2024 年最有价值项目([GVP](https://gitee.com/gcp "GVP"))和 [gitcode](https://gitcode.com "gitcode") 2024 年度 [G-Star](https://gitcode.com/g-star "G-Star") 项目,如果您觉得不错,请给个 star 吧 ![gvp](https://carbon.go-pkg.com/gvp.jpg) ![gstar](https://carbon.go-pkg.com/gstar.jpg) document: [carbon.go-pkg.com]( https://carbon.go-pkg.com/ "carbon.go-pkg.com") github: [github.com/dromara/carbon]( https://github.com/dromara/carbon "github.com/dromara/carbon") gitee: [gitee.com/dromara/carbon]( https://gitee.com/dromara/carbon "gitee.com/dromara/carbon") gitcode: [gitcode.com/dromara/carbon]( https://gitcode.com/dromara/carbon "gitcode.com/dromara/carbon") ##### 更新内容 - 将 `golang` 环境依赖从 `1.21` 降低到 `1.18` - 将 `testify` 测试框架从 `v1.10.0` 升级到 `v1.11.1` - 在 `type_carbon.go` 文件 `UnmarshalJSON` 方法中设置 `isEmpty` 标志以表示空值 - 使用 `sync.Map` 实现高性能并发缓存 - 修复潜在的竞态条件和空指针解引用问题,提高并发安全性

有疑问加站长微信联系(非本文作者)

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

1239 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传