Skip to content

Commit

Permalink
initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
JubaerHossain committed Jun 11, 2024
1 parent 41e0f39 commit 6c6fee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/create/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ func createEnvFile() error {

// Function to generate main.go file
func generateMainFile() error {
templatePath := path.Join(TemplateDir, "main.go")
templatePath := path.Join("template", "main.go")
targetPath := path.Join(AppRoot, "cmd", "server", "main.go")
if err := createMainFile(templatePath, targetPath); err != nil {
return fmt.Errorf("error creating main.go file: %w", err)
Expand Down

0 comments on commit 6c6fee9

Please sign in to comment.