feat: url based multi-format loaders/decoders

This commit is contained in:
2022-05-09 14:23:01 +02:00
parent 1353755683
commit 5383ed7ced
17 changed files with 375 additions and 4 deletions

View File

@ -7,8 +7,6 @@ import (
"github.com/pkg/errors"
)
const FormatQueryParam = "format"
type DecoderHandler interface {
URLMatcher
Decode(url *url.URL, reader io.Reader) (interface{}, error)