REST API / Fiber starter repository 🐢
Environments | Languages | Linters | Frameworks | Testing | CI/CD |
---|---|---|---|---|---|
These articles are very helpful/informative.
- Go Gin vs Fiber: Hello World performance
- Go servers benchmark: Echo, Fiber, and Gin
- Go — Gin vs Fiber vs Echo: How much performance difference is really there for a real-world use case?
Enable gopls
to use IntelliSense features.
First, you need to install golangci-lint
.
Please run the following script according to your environment:
Tip
Make sure that ~/go/bin
is exist in PATH
.
brew install golangci-lint
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$(go env GOPATH)/bin" v1.63.4
Important
For Windows, use Git Bash.
Run with Docker to develop with live-reloading (hot-reload).
docker compose up
The API route's root is localhost:8000
.
You can execute the sample API (ping
) at localhost:8000/api/v1/ping
.