Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pietrobragaaquinojunior/go-gin-api
Api em go utilizando gin framework com testes unitários.
https://github.com/pietrobragaaquinojunior/go-gin-api
gin golang testing
Last synced: about 1 month ago
JSON representation
Api em go utilizando gin framework com testes unitários.
- Host: GitHub
- URL: https://github.com/pietrobragaaquinojunior/go-gin-api
- Owner: pietroBragaAquinoJunior
- Created: 2024-08-02T12:23:26.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-02T13:05:25.000Z (3 months ago)
- Last Synced: 2024-10-15T17:21:42.564Z (about 1 month ago)
- Topics: gin, golang, testing
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-gin-api
Api em go utilizando gin framework com testes unitários.
Para utilizar basta clonar o repositório e executar o comando `go run main.go` na raiz do projeto.
Para rodar os testes, navegue até a pasta `tests` e execute o comando `go test`.
Exemplo retirado do site oficial gin https://gin-gonic.com/docs/testing/
![Screenshot from 2024-08-02 10-03-40](https://github.com/user-attachments/assets/0a89ef2b-dab4-47a2-8398-7ef98258e2ce)