Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 265 Bytes
package routes
import (
"github.com/kataras/iris"
)
// GetFollowingHandler handles the GET: /following/{id}
func GetFollowingHandler(ctx iris.Context) {
id, _ := ctx.Params().GetInt64("id")
ctx.Writef("from "+ctx.GetCurrentRoute().Path()+" with ID: %d", id)
}
You can’t perform that action at this time.