mirror of
https://github.com/wader/fq.git
synced 2024-12-18 02:41:44 +03:00
13 lines
249 B
Go
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)
|
|
}
|