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