1
1
mirror of https://github.com/wader/fq.git synced 2024-12-26 06:51:35 +03:00
fq/format/registry/default.go

13 lines
249 B
Go
Raw Normal View History

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