Commit Graph

5 Commits

Author SHA1 Message Date
slasher
72cb5e8a87 feat(util): add Any2String and String2Any
. #1000334184

Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:35 +08:00
slasher
8e76523249 chore(github): upgrade action of upload-artifact
see more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Signed-off-by: slasher <shenjie1@oppo.com>
2025-02-08 15:27:14 +08:00
slasher
0633f94f5a style(util): convert any value to string in util
util.Any2String
util.String2Any

BenchmarkStrFmt2String
BenchmarkStrFmt2String-4    20373084     57.41 ns/op    2 B/op    1 allocs/op
BenchmarkStrAny2String
BenchmarkStrAny2String-4    226842036     5.39 ns/op    0 B/op    0 allocs/op
BenchmarkStrString2Any
BenchmarkStrString2Any-4    47629057     24.11 ns/op    0 B/op    0 allocs/op

Signed-off-by: slasher <mcq.sejust@gmail.com>
2024-02-18 09:49:33 +08:00
NaturalSelect
2cfb03dcc1 test(storage): add extent and extent store unit test
Signed-off-by: NaturalSelect <2145973003@qq.com>
2023-09-08 15:34:35 +08:00
NaturalSelect
e4970c2016 test(util): add util unit tests
Signed-off-by: NaturalSelect <2145973003@qq.com>
2023-09-08 15:34:35 +08:00