1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//go:build nozstd package fs import ( "bufio" "fmt" "io" "os" ) func (f *readFile) makeZstdReader(fd *os.File) (reader *bufio.Reader, decompressor io.Closer, err error) { _ = fd err = fmt.Errorf("%s: zstd is not supported in this build (built with -tags nozstd)", f.FilePath()) return }