Wire: fix typo in README: App -> Baz (google/go-cloud#239)
A function called initializeApp was returning a foobarbaz.Baz.
This commit is contained in:
@@ -142,7 +142,7 @@ import (
|
|||||||
"example.com/foobarbaz"
|
"example.com/foobarbaz"
|
||||||
)
|
)
|
||||||
|
|
||||||
func initializeApp(ctx context.Context) (foobarbaz.Baz, error) {
|
func initializeBaz(ctx context.Context) (foobarbaz.Baz, error) {
|
||||||
wire.Build(foobarbaz.MegaSet)
|
wire.Build(foobarbaz.MegaSet)
|
||||||
return foobarbaz.Baz{}, nil
|
return foobarbaz.Baz{}, nil
|
||||||
}
|
}
|
||||||
@@ -177,7 +177,7 @@ import (
|
|||||||
"example.com/foobarbaz"
|
"example.com/foobarbaz"
|
||||||
)
|
)
|
||||||
|
|
||||||
func initializeApp(ctx context.Context) (foobarbaz.Baz, error) {
|
func initializeBaz(ctx context.Context) (foobarbaz.Baz, error) {
|
||||||
foo := foobarbaz.ProvideFoo()
|
foo := foobarbaz.ProvideFoo()
|
||||||
bar := foobarbaz.ProvideBar(foo)
|
bar := foobarbaz.ProvideBar(foo)
|
||||||
baz, err := foobarbaz.ProvideBaz(ctx, bar)
|
baz, err := foobarbaz.ProvideBaz(ctx, bar)
|
||||||
|
|||||||
Reference in New Issue
Block a user