mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 19:21:03 +01:00
14 lines
202 B
Go
14 lines
202 B
Go
|
package follower
|
||
|
|
||
|
import (
|
||
|
"github.com/kataras/iris"
|
||
|
)
|
||
|
|
||
|
type Controller struct {
|
||
|
iris.Controller
|
||
|
}
|
||
|
|
||
|
func (c *Controller) GetBy(id int64) {
|
||
|
c.Ctx.Writef("from "+c.Route().Path()+" with ID: %d", id)
|
||
|
}
|