Files
mq/examples/parse.go
2024-12-26 13:44:06 +05:45

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))
}