We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aa151a commit 8d67388Copy full SHA for 8d67388
pkg/plugins/golang/v4/scaffolds/api.go
100644
100755
@@ -67,7 +67,7 @@ func (s *apiScaffolder) Scaffold() error {
67
// Load the boilerplate
68
boilerplate, err := afero.ReadFile(s.fs.FS, hack.DefaultBoilerplatePath)
69
if err != nil {
70
- return fmt.Errorf("error scaffolding API/controller: unable to load boilerplate: %w", err)
+ boilerplate = []byte("")
71
}
72
73
// Initialize the machinery.Scaffold that will write the files to disk
0 commit comments