parent
0b6afc879a
commit
0fec5555dd
5
Makefile
5
Makefile
|
@ -2,9 +2,8 @@ all:
|
|||
echo "build it!"
|
||||
# GO111MODULE=off go get -u -v .
|
||||
GO111MODULE=off go build -v -x
|
||||
# sudo setcap 'cap_net_bind_service=+ep' go.wit.com
|
||||
./go.wit.com
|
||||
@# ./myrepos >/tmp/myrepos.stderr 2>&1
|
||||
su -c ./go.wit.com
|
||||
# su -c "setcap 'cap_net_bind_service=+ep' go.wit.com"
|
||||
|
||||
goimports:
|
||||
goimports -w *.go
|
||||
|
|
|
@ -53,7 +53,7 @@ func indexBodyStart(w http.ResponseWriter) {
|
|||
}
|
||||
|
||||
func insertHTMLnote(w http.ResponseWriter, i int, parts []string) {
|
||||
log.Info("comment # line:", i, strings.Join(parts, " "))
|
||||
// log.Info("comment # line:", i, strings.Join(parts, " "))
|
||||
fmt.Fprintln(w, " <tr> <td><h3>", strings.Join(parts, " "), "</h3></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue