Fix some typos, fmt and imports :)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
cae02b02ac
commit
c038dfbd54
11 changed files with 96 additions and 88 deletions
|
@ -38,7 +38,7 @@ func notFoundHandler(w http.ResponseWriter, r *http.Request) {
|
|||
//templatesRenderer.HTML(w, http.StatusNotFound, "notFound", nil)
|
||||
}
|
||||
|
||||
func LoadDefaultConfig(gloablConfiguration *GlobalConfiguration) *mux.Router {
|
||||
func LoadDefaultConfig(globalConfiguration *GlobalConfiguration) *mux.Router {
|
||||
router := mux.NewRouter()
|
||||
router.NotFoundHandler = http.HandlerFunc(notFoundHandler)
|
||||
return router
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue