Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add low-level dependency injection container API #9658

Merged
merged 17 commits into from
Aug 12, 2021
Merged
Prev Previous commit
Next Next commit
define handler group type
  • Loading branch information
aaronc committed Jul 9, 2021
commit 02dcfae1dd3bfee5e3adcc64c013a4989746ba22
2 changes: 2 additions & 0 deletions container/container_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package container_test

import (
"reflect"
"testing"

"github.com/stretchr/testify/require"
Expand Down Expand Up @@ -57,6 +58,7 @@ func TestRun(t *testing.T) {
container.Run(func(handlers []Handler) {
// TODO
}),
container.DefineGroupTypes(reflect.TypeOf(Handler{})),
container.Provide(
ProvideKVStoreKey,
ProvideModuleKey,
Expand Down