Home > Article > Backend Development > Go fiber scaffolding cli
If you need a simple scaffolding tool that generates boilerplate code for the Go Fiber framework, similar to the express-generator tool, then you're in luck.
Fiber-generator is a template scaffolding tool for the Go Fiber framework that generates boilerplate code in an MVC architecture with HTMX, HTML, CSS, and JavaScript preconfigured.
You can find the project repository here: Fiber-generator.
Prerequisites:
Install Fiber-generator:
go install github.com/SuperninjaXII/Fiber-generator@latest
Generate Your Project:
fiber-generator --name my-project
Install Dependencies:
make install
If you don't have make, run:
go mod tidy
Build the Application:
make build
Alternatively, you can use:
go build -o "output-name"
If you find this tool helpful, please consider giving the project a star ⭐ on GitHub:
Fiber-generator
The above is the detailed content of Go fiber scaffolding cli. For more information, please follow other related articles on the PHP Chinese website!