Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Add go directive in go.mod #151

Closed
sergefdrv opened this issue Jan 9, 2020 · 0 comments · Fixed by #154
Closed

Add go directive in go.mod #151

sergefdrv opened this issue Jan 9, 2020 · 0 comments · Fixed by #154

Comments

@sergefdrv
Copy link
Contributor

In order to be more clear about supported version of Go, as well as to automate checking of language features used, go.mod file should include a go directive. As described in go command documentation:

The expected language version, set by the go directive, determines which language features are available when compiling the module. Language features available in that version will be available for use. Language features removed in earlier versions, or added in later versions, will not be available.

Originally posted by @sergefdrv in #148

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant