Skip to content

Commit

Permalink
Align Spacing for Private Provides Docs (#1001)
Browse files Browse the repository at this point in the history
By the time #995 was merged in, #1000 had changed the spacing for code
snippets in the docs. This makes the additions to the docs in #995
correctly spaced.
  • Loading branch information
JacobOaks authored Dec 15, 2022
1 parent 6d76d64 commit 3a86277
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions docs/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ To write an Fx module:
),
fx.Invoke(startServer),
fx.Decorate(wrapLogger),
)
```

Expand All @@ -63,15 +62,15 @@ To write an Fx module:
```go mdox-exec='region ex/modules/module.go private'
var Module = fx.Module("server",
fx.Provide(
New,
),
fx.Provide(
fx.Private,
parseConfig,
),
fx.Invoke(startServer),
fx.Decorate(wrapLogger),
fx.Provide(
New,
),
fx.Provide(
fx.Private,
parseConfig,
),
fx.Invoke(startServer),
fx.Decorate(wrapLogger),
)
```
Expand Down

0 comments on commit 3a86277

Please sign in to comment.