diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-06-08 14:07:19 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-06-08 14:09:55 +0200 |
commit | 58a5a5feebcabd774dc7b70d653b2d81c328711c (patch) | |
tree | 8119d0f0fea7bbc9acd0ea3ea5ab3ec5004499b8 | |
parent | f3162da1bf139437bc437321bded8404db623a1a (diff) |
add zstd library / module
-rw-r--r-- | go.mod | 2 | ||||
-rw-r--r-- | go.sum | 2 | ||||
-rw-r--r-- | serialize.go | 2 |
3 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,5 @@ module github.com/HimbeerserverDE/mt go 1.16 + +require github.com/klauspost/compress v1.16.5 // indirect @@ -0,0 +1,2 @@ +github.com/klauspost/compress v1.16.5 h1:IFV2oUNUzZaz+XyusxpLzpzS8Pt5rh0Z16For/djlyI= +github.com/klauspost/compress v1.16.5/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= diff --git a/serialize.go b/serialize.go index a814b3e..b2ca51e 100644 --- a/serialize.go +++ b/serialize.go @@ -13,6 +13,8 @@ import ( "math" "sort" "unicode/utf16" + + "github.com/klauspost/compress/zstd" ) func write8(w io.Writer, x uint8) { |