Skip to content

Commit 3a86277

Browse files
authored
Align Spacing for Private Provides Docs (#1001)
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.
1 parent 6d76d64 commit 3a86277

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

docs/modules.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ To write an Fx module:
5353
),
5454
fx.Invoke(startServer),
5555
fx.Decorate(wrapLogger),
56-
5756
)
5857
```
5958

@@ -63,15 +62,15 @@ To write an Fx module:
6362

6463
```go mdox-exec='region ex/modules/module.go private'
6564
var Module = fx.Module("server",
66-
fx.Provide(
67-
New,
68-
),
69-
fx.Provide(
70-
fx.Private,
71-
parseConfig,
72-
),
73-
fx.Invoke(startServer),
74-
fx.Decorate(wrapLogger),
65+
fx.Provide(
66+
New,
67+
),
68+
fx.Provide(
69+
fx.Private,
70+
parseConfig,
71+
),
72+
fx.Invoke(startServer),
73+
fx.Decorate(wrapLogger),
7574
)
7675
```
7776

0 commit comments

Comments
 (0)