fix templates

This commit is contained in:
2025-02-22 22:21:51 -07:00
parent 9fe376d3ea
commit 60d7e07114
99 changed files with 31 additions and 9 deletions

View File

@ -21,7 +21,7 @@ var protoTemplate string
//go:embed templates/backend/main.go.tmpl
var mainGoTemplate string
//go:embed templates/proto/include/*
//go:embed proto_include/*
var protoInclude embed.FS
func createCmd() *cli.Command {
@ -118,7 +118,7 @@ func createCmd() *cli.Command {
return fmt.Errorf("error rendering proto file | %w", err)
}
err = os.CopyFS("proto_include", protoInclude)
err = os.CopyFS("./", protoInclude)
if err != nil {
return fmt.Errorf("error copying proto include files | %w", err)
}