summaryrefslogtreecommitdiffhomepage
path: root/util/httpio/urlquery/urlquery.go
diff options
context:
space:
mode:
Diffstat (limited to 'util/httpio/urlquery/urlquery.go')
-rw-r--r--util/httpio/urlquery/urlquery.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/util/httpio/urlquery/urlquery.go b/util/httpio/urlquery/urlquery.go
new file mode 100644
index 000000000..94a46455e
--- /dev/null
+++ b/util/httpio/urlquery/urlquery.go
@@ -0,0 +1,10 @@
+// Package urlquery TODO
+package urlquery
+
+// option is an option to alter behavior of Marshal and Unmarshal.
+// Currently, there are no defined options.
+type option interface{ option() }
+
+func Marshal(val any, opts ...option) (query string, err error)
+
+func Unmarshal(query string, val any, opts ...option) (err error)