diff options
author | Eno Compton <enocom@google.com> | 2018-10-09 09:26:04 -0600 |
---|---|---|
committer | Andrew Bonventre <andybons@golang.org> | 2018-10-09 15:28:04 +0000 |
commit | 1b6a3bcc183de5104700180780733dcc693e6adb (patch) | |
tree | e6f5138807fa2db2a02e9bb3474c66a39532411e | |
parent | b1f4e2b533354a3320f09fec3be42d711179e596 (diff) |
blog: Make minor formatting fixes to Wire post
Change-Id: I0d3ae8456eae6dc98429874746789479925223a8
Reviewed-on: https://go-review.googlesource.com/c/140718
Reviewed-by: Andrew Bonventre <andybons@golang.org>
-rw-r--r-- | content/wire.article | 2 |
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 |