2024-10-08 21:57:25 +00:00
|
|
|
package router
|
|
|
|
|
2024-10-09 02:30:29 +00:00
|
|
|
type values interface {
|
|
|
|
mustEmbedValues()
|
|
|
|
}
|
|
|
|
|
2024-10-08 21:57:25 +00:00
|
|
|
type Values map[string][]string
|
|
|
|
|
2024-10-09 02:30:29 +00:00
|
|
|
func (Values) mustEmbedValues() {}
|
|
|
|
|
2024-10-08 22:04:57 +00:00
|
|
|
func (v Values) Parse(data any) error {
|
2024-10-09 01:06:53 +00:00
|
|
|
return genericValues(v).Parse(data, "form")
|
2024-10-08 21:57:25 +00:00
|
|
|
}
|