Second Import
This commit is contained in:
+2
-7
@@ -6,10 +6,9 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/gorilla/handlers"
|
||||
"github.com/gorilla/mux"
|
||||
"net/http"
|
||||
"os"
|
||||
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
// Check if the application is disabled
|
||||
@@ -33,7 +32,3 @@ func RestCheckAppDisabledHandler(h http.Handler) http.Handler {
|
||||
h.ServeHTTP(w, r)
|
||||
})
|
||||
}
|
||||
|
||||
func LogHandler(h http.Handler) http.Handler {
|
||||
return handlers.CombinedLoggingHandler(os.Stdout, h)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user