Просмотр исходного кода

Add `go 1.11` to go.mod.

Recent versions of go (at least go1.14) automatically add a `go` line to
go.mod with every command, such as `go build`. Adding one here so that
builds don't wind up changing a versioned file. There doesn't seem to be
much importance to what number goes here
(https://utcc.utoronto.ca/~cks/space/blog/programming/GoModulesGoVersions).
I've just verified that the programs build with go1.11.
David Fifield 5 лет назад
Родитель
Сommit
2fe0675488
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      go.mod

+ 2 - 0
go.mod

@@ -1,5 +1,7 @@
 module www.bamsoftware.com/git/dnstt.git
 
+go 1.11
+
 require (
 	github.com/flynn/noise v0.0.0-20180327030543-2492fe189ae6
 	github.com/xtaci/kcp-go/v5 v5.5.12