feat: add task completion

This commit is contained in:
sujit
2024-12-26 13:44:06 +05:45
parent 05fe8458f3
commit 807c845254
10 changed files with 84 additions and 82 deletions

View File

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