Commit Graph

14 Commits

Author SHA1 Message Date
kercylan98
930fe159bf test:
super 包添加 Convert 函数的单元测试
2023-07-27 18:26:21 +08:00
kercylan98
867d1ecf82 feat: super 包支持使用 Convert 强制转换数据类型 2023-07-27 18:24:45 +08:00
kercylan98
1ae14f0d7b refactor: kcrypto 包更名为 crypto,与目录名对应 2023-07-27 16:46:09 +08:00
kercylan98
11ad997eaa feat: super 包支持无错的 json 序列化 2023-07-27 15:40:18 +08:00
kercylan
2cbffbf967 feat: super 包支持注册第三方错误,将第三方错误转换为特定错误代码和信息 2023-07-21 23:20:22 +08:00
kercylan98
506e0f2ee4 feat: super 包添加 []byte、string 零拷贝转换函数 2023-07-20 19:32:58 +08:00
kercylan98
1dcbd0a220 feat: 支持使用 super.RegError 函数为错误注册全局错误码,使用 super.GetErrorCode 根据错误获取全局错误码 2023-07-19 11:07:06 +08:00
kercylan98
3ee638f4df feat: super 包支持使用 super.GoFormat 函数格式化 go 文件 2023-07-17 17:05:21 +08:00
kercylan98
7e7a504421 feat: 重构 config 和 configexport 包
- 配置加载包 config 更名为 configuration
- 配置导出包 configexport 更名为 pce
- 重构
config 包加载方式,采用加载器的方式,并且支持多加载器
- 重构 configexport
包,支持通过实现模板的方式导出不同格式的数据文件及结构文件
2023-07-17 13:28:17 +08:00
kercylan98
25ed712fc9 feat: super 包支持 match 控制函数 2023-07-14 21:24:27 +08:00
kercylan98
b5a4bc959d feat: 支持通过 super.StackGO 进行跨协程同步运行堆栈抓取 2023-07-12 18:36:47 +08:00
kercylan98
a4a27ea9da feat: 可使用 super.NewStackGo 创建用于对上一个协程堆栈进行收集的收集器 2023-07-12 17:45:30 +08:00
kercylan98
ee87612f60 feat: 新增重试函数及两个关于 func 执行的辅助函数
支持通过 super.Handle 和 super.HandleV 对函数进行执行,如果传入的函数不为 nil 则会执行
2023-07-05 13:39:45 +08:00
kercylan98
3248cc9682 init commit 2023-04-07 11:21:50 +08:00