English | 中文
最快的 map 和 struct 互转库 🚀🚀🚀
- Zero GC, Pool & Compress, reducing small objects.
- All CPU architectures, Not for specific CPU arch.
- 10 times Faster than json Marshal / Unmarshal.
- Compatible with json tags.
go 1.21+
go get github.com/lvan100/fastconv
src := map / struct / slice
dst := map / struct / slice
fastconv.Convert(src, dst)
If you like this project, please give it a star. Thanks!
FastConv is Open Source software released under the Apache 2.0 license.