Skip to content

v1.2.0

Compare
Choose a tag to compare
@Degfy Degfy released this 23 Nov 10:21
· 13 commits to main since this release
1ace927

What's Changed

  • Introduced a new gone.GonerOption, enabling type-based injection by delegating the task of constructing injected type instances to a Goner that implements Suck(conf string, v reflect.Value, field reflect.StructField) error.
  • Added a helper function for implementing Goner Provider: func NewProviderPriest[T any, P any](fn func(tagConf string, param P) (T, error)) Priest.
  • Provided a strategy configuration solution for the cluster mode in goner/xorm.
  • Improved the goner/gorm code and conducted functional tests to support integration with multiple databases.

Full Changelog: v1.1.1...v1.2.0