mirror of
https://github.com/oarkflow/mq.git
synced 2025-10-05 16:06:55 +08:00
13 lines
316 B
Go
13 lines
316 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/oarkflow/form"
|
|
)
|
|
|
|
func main() {
|
|
queryString := []byte("fields[0][method]=GET&fields[0][path]=/user/:id&fields[0][handlerMsg]=User Profile&fields[1][method]=POST&fields[1][path]=/user/create&fields[1][handlerMsg]=Create User")
|
|
fmt.Println(form.DecodeForm(queryString))
|
|
}
|