mirror of
https://github.com/wader/fq.git
synced 2024-12-26 15:02:28 +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)
|
|
}
|