mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
chore: move route registration into the handler classes themselves (resolve #57)
This commit is contained in:
8
routes/handler.go
Normal file
8
routes/handler.go
Normal file
@ -0,0 +1,8 @@
|
||||
package routes
|
||||
|
||||
import "github.com/gorilla/mux"
|
||||
|
||||
type Handler interface {
|
||||
RegisterRoutes(router *mux.Router)
|
||||
RegisterAPIRoutes(router *mux.Router)
|
||||
}
|
Reference in New Issue
Block a user