分享
这是一个创建于 的主题,其中的信息可能已经有所发展或是发生改变。
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 吧


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")
##### 中文
- 将 `Sleep` 由结构体方法更改成全局方法
- 重构 `波斯历` 并添加基准测试文件
- 重构 `中国农历` 并添加基准测试文件
- 重构 `儒略日/简化儒略日` 并添加基准测试文件
- 新增 `希伯来历` 支持并添加单元测试和基准测试文件
- 新增整体性能测试报告文件
##### English
- Change `Sleep` from struct method to global method
- Refactor `Persian` calendar and add benchmark test files
- Refactor `Chinese Lunar` calendar and add benchmark test files
- Refactor `Julian/Modified Julian` calendar and add benchmark test files
- Add `Hebrew` calendar support and add unit tests and benchmark test files
- Add overall performance test report file
有疑问加站长微信联系(非本文作者)
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
关注微信441 次点击
添加一条新回复
(您需要 后才能回复 没有账号 ?)
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码` - 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传