From 237ddbe1770485eab0723aac3a5dca92e1a0c5d9 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Thu, 26 May 2022 10:52:58 +0400 Subject: Packaging: Go: use GO111MODULE=auto in build instructions. --- pkg/deb/Makefile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/deb/Makefile.go') diff --git a/pkg/deb/Makefile.go b/pkg/deb/Makefile.go index cdccb5ed..b9463076 100644 --- a/pkg/deb/Makefile.go +++ b/pkg/deb/Makefile.go @@ -36,7 +36,7 @@ The $(MODULE_SUMMARY_go) has been installed. To check out the sample app, run these commands: - GOPATH=/usr/share/gocode go build -o /tmp/go-app /usr/share/doc/unit-$(MODULE_SUFFIX_go)/examples/go-app/let-my-people.go + GOPATH=/usr/share/gocode GO111MODULE=auto go build -o /tmp/go-app /usr/share/doc/unit-$(MODULE_SUFFIX_go)/examples/go-app/let-my-people.go sudo service unit restart cd /usr/share/doc/unit-$(MODULE_SUFFIX_go)/examples sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config -- cgit