From 693a458b4ea87b7b387bd9d094de2b42be7ecdbd Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Wed, 25 Dec 2019 20:00:32 +0300 Subject: Go: changing import name for "unit.nginx.org/go". This patch includes packaging changes - update unit-go installation directory. --- test/go/404/app.go | 2 +- test/go/command_line_arguments/app.go | 2 +- test/go/cookies/app.go | 2 +- test/go/empty/app.go | 2 +- test/go/get_variables/app.go | 2 +- test/go/mirror/app.go | 2 +- test/go/ns_inspect/app.go | 2 +- test/go/post_variables/app.go | 2 +- test/go/variables/app.go | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) (limited to 'test/go') diff --git a/test/go/404/app.go b/test/go/404/app.go index 08fe56c9..7eba2cf4 100644 --- a/test/go/404/app.go +++ b/test/go/404/app.go @@ -4,7 +4,7 @@ import ( "io" "io/ioutil" "net/http" - "nginx/unit" + "unit.nginx.org/go" ) func handler(w http.ResponseWriter, r *http.Request) { diff --git a/test/go/command_line_arguments/app.go b/test/go/command_line_arguments/app.go index 234e565e..1101e1cf 100644 --- a/test/go/command_line_arguments/app.go +++ b/test/go/command_line_arguments/app.go @@ -4,7 +4,7 @@ import ( "fmt" "io" "net/http" - "nginx/unit" + "unit.nginx.org/go" "os" "strings" ) diff --git a/test/go/cookies/app.go b/test/go/cookies/app.go index e6647ea8..2216e153 100644 --- a/test/go/cookies/app.go +++ b/test/go/cookies/app.go @@ -2,7 +2,7 @@ package main import ( "net/http" - "nginx/unit" + "unit.nginx.org/go" ) func handler(w http.ResponseWriter, r *http.Request) { diff --git a/test/go/empty/app.go b/test/go/empty/app.go index 6e0fce1b..9326a19b 100644 --- a/test/go/empty/app.go +++ b/test/go/empty/app.go @@ -2,7 +2,7 @@ package main import ( "net/http" - "nginx/unit" + "unit.nginx.org/go" ) func handler(w http.ResponseWriter, r *http.Request) {} diff --git a/test/go/get_variables/app.go b/test/go/get_variables/app.go index 4dcc0e7b..1c0205a8 100644 --- a/test/go/get_variables/app.go +++ b/test/go/get_variables/app.go @@ -2,7 +2,7 @@ package main import ( "net/http" - "nginx/unit" + "unit.nginx.org/go" ) func handler(w http.ResponseWriter, r *http.Request) { diff --git a/test/go/mirror/app.go b/test/go/mirror/app.go index 748aa7ee..78f047c3 100644 --- a/test/go/mirror/app.go +++ b/test/go/mirror/app.go @@ -4,7 +4,7 @@ import ( "fmt" "io" "net/http" - "nginx/unit" + "unit.nginx.org/go" ) func handler(w http.ResponseWriter, r *http.Request) { diff --git a/test/go/ns_inspect/app.go b/test/go/ns_inspect/app.go index aac2053e..d9b561c9 100644 --- a/test/go/ns_inspect/app.go +++ b/test/go/ns_inspect/app.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" "net/http" - "nginx/unit" + "unit.nginx.org/go" "os" "strconv" ) diff --git a/test/go/post_variables/app.go b/test/go/post_variables/app.go index 947976d2..e6279ac6 100644 --- a/test/go/post_variables/app.go +++ b/test/go/post_variables/app.go @@ -2,7 +2,7 @@ package main import ( "net/http" - "nginx/unit" + "unit.nginx.org/go" ) func handler(w http.ResponseWriter, r *http.Request) { diff --git a/test/go/variables/app.go b/test/go/variables/app.go index fdcbf7e8..4be60cb7 100644 --- a/test/go/variables/app.go +++ b/test/go/variables/app.go @@ -4,7 +4,7 @@ import ( "fmt" "io" "net/http" - "nginx/unit" + "unit.nginx.org/go" ) func handler(w http.ResponseWriter, r *http.Request) { -- cgit