Cleaning up dependencies.
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
"vppn/hub/api"
|
||||
"vppn/hub/errs"
|
||||
|
||||
"git.crumpington.com/lib/go/webutil"
|
||||
"git.crumpington.com/lib/webutil"
|
||||
)
|
||||
|
||||
type handlerFunc func(s *api.Session, w http.ResponseWriter, r *http.Request) error
|
||||
@@ -29,9 +29,7 @@ func (app *App) handlePub(pattern string, fn handlerFunc) {
|
||||
}
|
||||
}
|
||||
|
||||
app.mux.HandleFunc(pattern,
|
||||
webutil.WithLogging(
|
||||
wrapped))
|
||||
app.mux.HandleFunc(pattern, wrapped)
|
||||
}
|
||||
|
||||
func (app *App) handleNotSignedIn(pattern string, fn handlerFunc) {
|
||||
|
||||
Reference in New Issue
Block a user