mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-23 20:26:39 +00:00
bcb80d3ff4
* [chore] bump gruf/go-store to v2 * no more boobs
18 lines
637 B
Markdown
18 lines
637 B
Markdown
# snappy
|
|
|
|
The Snappy compression format in the Go programming language.
|
|
|
|
This is a drop-in replacement for `github.com/golang/snappy`.
|
|
|
|
It provides a full, compatible replacement of the Snappy package by simply changing imports.
|
|
|
|
See [Snappy Compatibility](https://github.com/klauspost/compress/tree/master/s2#snappy-compatibility) in the S2 documentation.
|
|
|
|
"Better" compression mode is used. For buffered streams concurrent compression is used.
|
|
|
|
For more options use the [s2 package](https://pkg.go.dev/github.com/klauspost/compress/s2).
|
|
|
|
# usage
|
|
|
|
Replace imports `github.com/golang/snappy` with `github.com/klauspost/compress/snappy`.
|