github.com/hack0072008/kafka-go@v1.0.1/lz4/lz4.go (about) 1 // Package lz4 does nothing, it's kept for backward compatibility to avoid 2 // breaking the majority of programs that imported it to install the compression 3 // codec, which is now always included. 4 package lz4 5 6 import "github.com/hack0072008/kafka-go/compress/lz4" 7 8 const ( 9 Code = 3 10 ) 11 12 type CompressionCodec = lz4.Codec 13 14 func NewCompressionCodec() *CompressionCodec { 15 return &CompressionCodec{} 16 }