Kaynağa Gözat

Removed deprecated go get -u outside module (#286)

João Freitas 2 yıl önce
ebeveyn
işleme
a2e58abab5
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      README.md
  2. 1 1
      gui/assets/gen.go

+ 1 - 1
README.md

@@ -193,7 +193,7 @@ func main() {
   
 You can download and install `hellog3n` via:
     
-    go get -u github.com/g3n/demos/hellog3n
+    go install github.com/g3n/demos/hellog3n@latest
 
 For more complex demos please see the [G3N demo program](https://github.com/g3n/g3nd).
 

+ 1 - 1
gui/assets/gen.go

@@ -2,7 +2,7 @@ package assets
 
 // To generate file with fonts binary data install "go-bindata" from:
 // https://github.com/go-bindata/go-bindata
-// > go get -u github.com/go-bindata/go-bindata/...
+// > go install github.com/go-bindata/go-bindata@latest
 
 //go:generate go-bindata -o data.go -pkg assets fonts cursors
 //go:generate g3nicodes -pkg icon icon/codepoints icon/icodes.go