go-temperatura-cep

module
v0.0.0-...-928c147 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: Apache-2.0

README

Projeto

Projeto para consulta de temperatura baseado nno CEP

Pré Requisitos

Golang 1.22.1

Como executar?

docker-compose up --build

Acesse a URL abaixo

http://localhost:8080?cep=<cep>

Cenários de Teste

Sucesso (200)

http://localhost:8080?cep=64770000

Cep inválido (422)

http://localhost:8080?cep=647700

Cep não encontrado (404)

http://localhost:8080?cep=00000000

Google Cloud Run

Endereço de teste

https://go-temperatura-cep-g4wj6iiisa-uc.a.run.app/?cep=64770000

Directories

Path Synopsis
internal
tests/controller
Package mock_controller is a generated GoMock package.
Package mock_controller is a generated GoMock package.
tests/requester
Package mock_requester is a generated GoMock package.
Package mock_requester is a generated GoMock package.
tests/service
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL