You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[di][config][logf][mocks] Tests and mocks refactor (#26)
* add `Download` section to `README.md`
* describe new approach in testing packages in `CONTRIBUTING.md`
* all test files were refactored to fit new requirements
* create mocks for every interface
* add panic with proper message when mocked function is nil
* [config] rename and export opt to DefaultOpt
* [di] add Constructor interface and refactor code
* [di] REMOVE `Register(ctors ...any)` from `Container` interface (breaking change)
* [di] add `Service` type
* [di] add `Scope() Container` to `Container` interface
* [di] add `Services() []Service` to `Container` interface
* [logf] move mocks to `tests/mocks/logf.go` (breaking change)