Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit f33a00f

Browse files
author
cglotr
committed
add details on to to run generated code
1 parent 79660af commit f33a00f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_tutorial/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func InitializeEvent() Event {
184184
}
185185
```
186186

187-
It looks just like what we wrote above! Now this is a simple example with just
187+
It looks just like what we wrote above! You can try running the code using `go run main.go wire_gen.go` to verify that the code works. Now this is a simple example with just
188188
three components, so writing the initializer by hand isn't too painful. Imagine
189189
how useful Wire is for components that are much more complex. When working with
190190
Wire, we will commit both `wire.go` and `wire_gen.go` to source control.

0 commit comments

Comments
 (0)