This Cookiecutter template has the functionality to serve as a basis for future apis that implement a microservices architecture and along with that gokit.
Para compilar simplemente se debe hacer make build
lo que generara un binario en build/bin/api-test
Para correr los tests se debe hacer make test
y para obtener el coverage make coverage
Variables | Command && Shortcut | Descripción |
---|---|---|
PORT | --port=, -p | Puerto que escucha el servicio http, por defecto 8080 |