499 B
499 B
Pokedex README
A simple Go-powered REST API kata.
HTTP Server
- KISS: Use built-in
http
package. https://gin-gonic.com/ looks cooler but also adds dozens of dependencies 😮 No need for a "fully-featured" web framework.
Protobuf
- JSON mapping: https://protobuf.dev/programming-guides/proto3/#json
Swagger
- Exposed at
http://localhost:8080/docs
- Regenerate with
swag init
, see https://github.com/swaggo/http-swagger - Annotation format: see https://github.com/swaggo/swag