aboutsummaryrefslogtreecommitdiff
path: root/content/wire.article
diff options
context:
space:
mode:
Diffstat (limited to 'content/wire.article')
-rw-r--r--content/wire.article2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/wire.article b/content/wire.article
index c024620..cce8003 100644
--- a/content/wire.article
+++ b/content/wire.article
@@ -55,7 +55,7 @@ Providers that are commonly used together can be grouped into `ProviderSets`. Fo
var UserStoreSet = wire.ProviderSet(NewUserStore, NewDefaultConfig)
-Injectors are generated functions that call providers in dependency order. You write the injector's signature, including any needed inputs as arguments, and insert a call to wire.Build with the list of providers or provider sets that are needed to construct the end result:
+_Injectors_ are generated functions that call providers in dependency order. You write the injector's signature, including any needed inputs as arguments, and insert a call to `wire.Build` with the list of providers or provider sets that are needed to construct the end result:
func initUserStore() (*UserStore, error) {
// We're going to get an error, because NewDB requires a *ConnectionInfo