From 1b6a3bcc183de5104700180780733dcc693e6adb Mon Sep 17 00:00:00 2001 From: Eno Compton Date: Tue, 9 Oct 2018 09:26:04 -0600 Subject: blog: Make minor formatting fixes to Wire post Change-Id: I0d3ae8456eae6dc98429874746789479925223a8 Reviewed-on: https://go-review.googlesource.com/c/140718 Reviewed-by: Andrew Bonventre --- content/wire.article | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3