v0.12.0
It’s breaking change for v1.0.0 stable release.
Package tzf will no longer return *tzf.Finder
/*tzf.DefaultFinder
/*tzf.FuzzyFinder
in tzf.New**
method but return an interface tzf.F
instead.
var (
defaultFinder tzf.F
)
func init() {
finder, err := tzf.NewDefaultFinder()
if err != nil {
panic(err)
}
defaultFinder = finder
}
Thie behaviour should be considered as a preparation for v1.0.0 stable release, which won't change until v2.0.0 release.
What's Changed
- feat!: return interface instead of structs by @ringsaturn in #109
Full Changelog: v0.11.2...v0.12.0