If you need a simple scaffolding tool that generates boilerplate code for theGo Fiberframework, similar to theexpress-generatortool, then you're in luck.
Fiber-generatoris a template scaffolding tool for the Go Fiber framework that generates boilerplate code in an MVC architecture withHTMX,HTML,CSS, andJavaScriptpreconfigured.
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!