How to parse form array in golang Beego

前端 未结 3 653
南笙
南笙 2021-02-09 09:42

How to parse html form array with Beego.

3条回答
  •  日久生厌
    2021-02-09 10:15

    You can do like this : see doc

    v := make([]string, 0, 3)
    this.Ctx.Input.Bind(&v, "names")
    

提交回复
热议问题