10 lines
229 B
Go
10 lines
229 B
Go
package main
|
|
|
|
import "git.vinchent.xyz/vinchent/go-web/framework"
|
|
|
|
func registerRouter(core *framework.Core) {
|
|
core.Get("/foo", FooControllerHandler)
|
|
barGroup := core.Group("/bar")
|
|
barGroup.Get("/foo", FooControllerHandler)
|
|
}
|