This is what the go version directive in go.mod is for.

On Mon, 2019-07-15 at 20:05 -0700, Andrey Tcherepanov wrote:
> Or... adding "require" to package statement to indicate Go 2 is the 
> language for this file
> 
> package main requires "go2"

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/e0c1cf01495cbad513d4fe7c34d20cc545dfb092.camel%40kortschak.io.
For more options, visit https://groups.google.com/d/optout.

Reply via email to