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

14 lines
270 B
Go

package registry
import (
"github.com/wader/fq/pkg/decode"
"github.com/wader/fq/pkg/registry"
)
// Default global registry that all builtin formats register with
var Default = registry.New()
func MustRegister(format decode.Format) {
Default.MustRegister(format)
}