Skip to content

Commit

Permalink
chore: remove redundant code from fiber templates
Browse files Browse the repository at this point in the history
  • Loading branch information
minhnghia2k3 committed Sep 1, 2024
1 parent cba126b commit f431ca9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions frameworks/fiber/templates/config.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package config

import "github.com/gofiber/fiber/v2"

func Setup() {
// Example: Setup database, environment variables, etc.
}
2 changes: 1 addition & 1 deletion frameworks/fiber/templates/main.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ func main() {
routes.SetupRoutes(app)

// Start server
log.Fatal(app.Listen(os.Getenv("PORT"))
log.Fatal(app.Listen(os.Getenv("PORT")))
}

0 comments on commit f431ca9

Please sign in to comment.