func main() {
beego.Router("/", &MainController{})
beego.Router("/userid/", &SqlController{})
beego.Run()
}
this works fine for url "http://localhost:8080/userid" but if i want user id value to be dynamic for ex "http://localhost:8080?userid=1" i could not how o achieve this using router in go.