#1287 golang: add GO111MODULE=off to golist example
Merged 10 months ago by james. Opened 10 months ago by linkdupont.
linkdupont/packaging-committee golist-fix-module  into  master

@@ -319,6 +319,7 @@ 

  [source,bash]

  ----

   export GOPATH=/home/user/go

+  export GO111MODULE=off

   export goipath="github.com/sirupsen/logrus"

   go get $goipath

   (sort -u | xargs -I{} echo "BuildRequires:  golang({})") <<< "$(

golist relies on GOPATH for analysis, so in order for go get to work outside a package directory, G111MODULE must be set to off.

Pull-Request has been merged by james

10 months ago
Metadata