ZOYKU火線榜

gofiber/boilerplate技術文件

Boilerplate for Fiber

多語言回退提示:當前倉庫原作者暫未發布在地化文件,已為您無縫切換至官方英文原版(English),排版及程式碼實例完整保真。
極速安裝
go get github.com/gofiber/boilerplate

Fiber Boilerplate Fiber Boilerplate

GoFiber Docker Boilerplate

Release Discord Test Security Linter

IDE Development

Visual Studio Code

Use the following plugins, in this boilerplate project:

Development

Start the application

go run app.go

Use local container

# Shows all commands
make help

# Clean packages
make clean-packages

# Generate go.mod & go.sum files
make requirements

# Generate docker image
make build

# Generate docker image with no cache
make build-no-cache

# Run the projec in a local container
make up

# Run local container in background
make up-silent

# Run local container in background with prefork
make up-silent-prefork

# Stop container
make stop

# Start container
make start

Production

docker build -t gofiber .
docker run -d -p 3000:3000 gofiber ./app -prod

Go to http://localhost:3000:

Go Fiber Docker Boilerplate

☕ Supporters

Fiber is an open-source project that runs on donations to pay the bills, e.g., our domain name, hosting, and serverless infrastructure. If you want to support Fiber, please become a GitHub Sponsor.

CodeRabbit

Blacksmith

Tool Sponsors - supporting Fiber with free IDE licenses and AI credits

JetBrains   OpenAI   Anthropic

📅 Monthly Sponsors

🔥 Fiber Guardian@coderabbitai
☕ Fiber Supporter@NdoleStudio
🪴 Fiber Friend@kamaslau @simonheisstpeter

🎁 One-time Sponsors

🚀 Fiber Hero@thnxdev
🪴 Fiber Friend@Gl1tchedPixzl
文件鏡像歸檔自 GitHub 官方源路徑 · 造訪原專案 GitHub
最後同步快照:2026-11-09