1
1
mirror of https://github.com/wader/fq.git synced 2024-12-18 02:41:44 +03:00
fq/format/registry/default.go
2021-09-12 13:08:50 +02:00

13 lines
249 B
Go

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