1
1
mirror of https://github.com/wader/fq.git synced 2024-11-23 18:56:52 +03:00
fq/format/registry/registry.go

14 lines
270 B
Go
Raw Normal View History

2020-06-08 03:29:51 +03:00
package registry
import (
"github.com/wader/fq/pkg/decode"
"github.com/wader/fq/pkg/registry"
2020-06-08 03:29:51 +03:00
)
// Default global registry that all builtin formats register with
var Default = registry.New()
2020-06-08 03:29:51 +03:00
func MustRegister(format decode.Format) {
Default.MustRegister(format)
2020-06-08 03:29:51 +03:00
}