chore(deps): remove dependencies from handler package
This commit was merged in pull request #287.
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
)
|
||||
|
||||
type IndexHandler interface {
|
||||
handle(router *http.ServeMux)
|
||||
Handle(router *http.ServeMux)
|
||||
}
|
||||
|
||||
type IndexHandlerImpl struct {
|
||||
@@ -30,7 +30,7 @@ func NewIndexHandler(db *sql.DB, service service.AuthService, serverSettings *ty
|
||||
}
|
||||
}
|
||||
|
||||
func (handler IndexHandlerImpl) handle(router *http.ServeMux) {
|
||||
func (handler IndexHandlerImpl) Handle(router *http.ServeMux) {
|
||||
router.Handle("/", handler.handleIndexAnd404())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user