diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2022-05-26 10:52:58 +0400 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2022-05-26 10:52:58 +0400 |
commit | 237ddbe1770485eab0723aac3a5dca92e1a0c5d9 (patch) | |
tree | 03f33cd0d24ecef2c5021ff2f2e1efd54c70dd26 /pkg/rpm | |
parent | 02f50533c4a476b91e4b39a7a2d052095d970983 (diff) | |
download | unit-237ddbe1770485eab0723aac3a5dca92e1a0c5d9.tar.gz unit-237ddbe1770485eab0723aac3a5dca92e1a0c5d9.tar.bz2 |
Packaging: Go: use GO111MODULE=auto in build instructions.
Diffstat (limited to 'pkg/rpm')
-rw-r--r-- | pkg/rpm/Makefile.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/rpm/Makefile.go b/pkg/rpm/Makefile.go index e3891ab4..a1421bee 100644 --- a/pkg/rpm/Makefile.go +++ b/pkg/rpm/Makefile.go @@ -65,7 +65,7 @@ The $(MODULE_SUMMARY_go) has been installed. To check the sample app, run these commands: - GOPATH=%{gopath} go build -o /tmp/go-app /usr/share/doc/unit-go/examples/go-app/let-my-people.go + GOPATH=%{gopath} GO111MODULE=auto go build -o /tmp/go-app /usr/share/doc/unit-go/examples/go-app/let-my-people.go sudo service unit start cd /usr/share/doc/%{name}/examples sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/unit/control.sock http://localhost/config |