mirror of
https://github.com/georgyo/ifconfig.io.git
synced 2025-04-01 15:52:56 +00:00
goimports
This commit is contained in:
parent
c8cd9ee648
commit
e3d1bc7bed
5
main.go
5
main.go
@ -7,13 +7,13 @@ import (
|
|||||||
"net/http/fcgi"
|
"net/http/fcgi"
|
||||||
"os"
|
"os"
|
||||||
"path"
|
"path"
|
||||||
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
"strconv"
|
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
|
||||||
"github.com/brandfolder/gin-gorelic"
|
"github.com/brandfolder/gin-gorelic"
|
||||||
"github.com/coreos/go-systemd/activation"
|
"github.com/coreos/go-systemd/activation"
|
||||||
|
"github.com/gin-gonic/gin"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Logger is a simple log handler, out puts in the standard of apache access log common.
|
// Logger is a simple log handler, out puts in the standard of apache access log common.
|
||||||
@ -190,7 +190,6 @@ func main() {
|
|||||||
errc <- fcgi.Serve(fcgi_listen, r)
|
errc <- fcgi.Serve(fcgi_listen, r)
|
||||||
}(errc)
|
}(errc)
|
||||||
|
|
||||||
|
|
||||||
// Listen on whatever systemd tells us to.
|
// Listen on whatever systemd tells us to.
|
||||||
listeners, err := activation.Listeners(true)
|
listeners, err := activation.Listeners(true)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user