go-macaron/macaron

form不能解析数组参数

Closed this issue · 1 comments

type ConsoleForm struct {
	Operation string   `form:"operation"`
	Command   string   `form:"command"`
	Args      []string `form:"args"`
}

发送参数operation=test&command=run&args[]=1&args[]=2

args无法映射到struct中

好像..这个issue发错项目了..