Go: changing import name for "unit.nginx.org/go".
This patch includes packaging changes - update unit-go installation directory.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
"nginx/unit"
|
||||
"unit.nginx.org/go"
|
||||
)
|
||||
|
||||
func handler(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
Reference in New Issue
Block a user