feat: [wip] - Implement html node

This commit is contained in:
sujit
2024-11-24 11:35:38 +05:45
parent 6541c646db
commit 9e334d7768
3 changed files with 139 additions and 54 deletions

12
examples/parse.go Normal file
View File

@@ -0,0 +1,12 @@
package main
import (
"fmt"
"github.com/oarkflow/mq/utils"
)
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(utils.DecodeForm(queryString))
}