Packaging changes for updated Go package.

- package name changed to 'nginx/unit';
- source files installed in /usr/share/gocode;
- rpm and deb go packages made noarch.
This commit is contained in:
Max Romanov
2017-12-01 16:59:41 +03:00
parent 40eb1f8b9b
commit cdf900cf2c
10 changed files with 140 additions and 36 deletions

View File

@@ -3,7 +3,7 @@ package main
import (
"fmt"
"net/http"
"unit"
"nginx/unit"
)
func handler(w http.ResponseWriter, r *http.Request) {