diff options
author | Max Romanov <max.romanov@nginx.com> | 2019-12-25 20:00:32 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2019-12-25 20:00:32 +0300 |
commit | 693a458b4ea87b7b387bd9d094de2b42be7ecdbd (patch) | |
tree | 3e1085dfd5bb037ac9ef9cfcd80e3d62205db63e /pkg | |
parent | eced72ba25a1aced3553ac4e8499c4c2befd2a91 (diff) | |
download | unit-693a458b4ea87b7b387bd9d094de2b42be7ecdbd.tar.gz unit-693a458b4ea87b7b387bd9d094de2b42be7ecdbd.tar.bz2 |
Go: changing import name for "unit.nginx.org/go".
This patch includes packaging changes - update unit-go installation
directory.
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/deb/debian.module/unit.example-go-app | 2 | ||||
-rw-r--r-- | pkg/deb/debian/unit.example-go-app | 2 | ||||
-rw-r--r-- | pkg/rpm/Makefile.go | 4 | ||||
-rw-r--r-- | pkg/rpm/rpmbuild/SOURCES/unit.example-go-app | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/pkg/deb/debian.module/unit.example-go-app b/pkg/deb/debian.module/unit.example-go-app index 7ca0c9fd..6eec1dbb 100644 --- a/pkg/deb/debian.module/unit.example-go-app +++ b/pkg/deb/debian.module/unit.example-go-app @@ -3,7 +3,7 @@ package main import ( "fmt" "net/http" - "nginx/unit" + "unit.nginx.org/go" ) func handler(w http.ResponseWriter, r *http.Request) { diff --git a/pkg/deb/debian/unit.example-go-app b/pkg/deb/debian/unit.example-go-app index 7ca0c9fd..6eec1dbb 100644 --- a/pkg/deb/debian/unit.example-go-app +++ b/pkg/deb/debian/unit.example-go-app @@ -3,7 +3,7 @@ package main import ( "fmt" "net/http" - "nginx/unit" + "unit.nginx.org/go" ) func handler(w http.ResponseWriter, r *http.Request) { diff --git a/pkg/rpm/Makefile.go b/pkg/rpm/Makefile.go index 8603e994..e3891ab4 100644 --- a/pkg/rpm/Makefile.go +++ b/pkg/rpm/Makefile.go @@ -52,8 +52,8 @@ endef export MODULE_PREINSTALL_go define MODULE_FILES_go -%dir %{gopath}/src/nginx/unit -%{gopath}/src/nginx/unit/* +%dir %{gopath}/src/unit.nginx.org/go +%{gopath}/src/unit.nginx.org/go/* endef export MODULE_FILES_go diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.example-go-app b/pkg/rpm/rpmbuild/SOURCES/unit.example-go-app index 7ca0c9fd..6eec1dbb 100644 --- a/pkg/rpm/rpmbuild/SOURCES/unit.example-go-app +++ b/pkg/rpm/rpmbuild/SOURCES/unit.example-go-app @@ -3,7 +3,7 @@ package main import ( "fmt" "net/http" - "nginx/unit" + "unit.nginx.org/go" ) func handler(w http.ResponseWriter, r *http.Request) { |