-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes that were introduced in 8ccea19 made it impossible to compile sarama with go 1.15 (which is mentioned as officially supported version in the README file) io.Discard and io.ReadAll appeared only in 1.16 https://golang.org/doc/go1.16#ioutil To address this issue this commit bumps minimal supported go version defined in go.mod file, to provide a clear message that 1.16 is required ``` > go build ./config.go:678:37: undefined: io.Discard ./decompress.go:43:10: undefined: io.ReadAll ./decompress.go:55:10: undefined: io.ReadAll ./sarama.go:89:29: undefined: io.Discard note: module requires Go 1.16 ```
- Loading branch information
Showing
3 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters