mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
ed45c77be5
Former-commit-id: ed635ee95de7160cde11eaabc0c1dcb0e460a620
14 lines
367 B
Go
14 lines
367 B
Go
package routes
|
|
|
|
import (
|
|
"github.com/kataras/iris/v12/_examples/bootstrap/bootstrap"
|
|
)
|
|
|
|
// Configure registers the necessary routes to the app.
|
|
func Configure(b *bootstrap.Bootstrapper) {
|
|
b.Get("/", GetIndexHandler)
|
|
b.Get("/follower/{id:int64}", GetFollowerHandler)
|
|
b.Get("/following/{id:int64}", GetFollowingHandler)
|
|
b.Get("/like/{id:int64}", GetLikeHandler)
|
|
}
|