Wrap zstd with cgo for c-share usage.
- wrapper zstd by golang
- compiled to c-share for dl
You can use so
released within lib
, or compile yourself version.
See zstd.lua for details.
- libzstd-drawin-amd64.so compiled on macOS Big Sur with golang v1.15.2
- libzstd-linux-x86_64.so compiled on CentOS 7 with golang v1.15.2
I would welcome your contribution! If you find any improvement or issue you want to fix, feel free to send a pull request, I like pull requests that include test cases for fix/enhancement. I have done my best to bring pretty good code coverage. Feel free to write tests.
BTW, I'd like to know what you think about kong-zstd-go
. Kindly open an issue or send me an email; it'd mean a lot to me.
// TODO
// TODO