1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-11-26 12:04:53 +00:00

Housekeeping with linter

'I do as the golint guides'
This commit is contained in:
Mikhail Chekan
2021-10-02 01:12:16 +08:00
parent 7ecc7b526e
commit 85c936d94a
29 changed files with 139 additions and 85 deletions

View File

@@ -74,6 +74,7 @@ func handlerRobotsTxt(w http.ResponseWriter, rq *http.Request) {
file.Close()
}
// Handler initializes
func Handler() http.Handler {
router := mux.NewRouter()
router.Use(func(next http.Handler) http.Handler {