File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/book/src/plugins/extending Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -120,10 +120,10 @@ This library allows you to:
120120- Add [ markers] [ markers-scaffold ] to the scaffolded files.
121121- Specify templates for your scaffolds.
122122
123- #### Example: Bollerplate
123+ #### Example: Boilerplate
124124
125- For instance, the go/v4 scaffolds the ` cmd/ go.mod` file by defining an object that [ implements the machinery interface] [ machinery ] .
126- The ` Template.SetTemplateDefaults ` , the ` raw template is set to the body :
125+ For instance, the go/v4 scaffolds the ` go.mod ` file by defining an object that [ implements the machinery interface] [ machinery ] .
126+ The raw template is set to the ` TemplateBody ` field on the ` Template.SetTemplateDefaults ` method :
127127
128128``` go
129129{{#include ./../../../../../pkg/plugins/golang/v4/scaffolds/internal/templates/gomod.go }}
You can’t perform that action at this time.
0 commit comments