SkillAgentSearch skills...

GoCep

Projeto em Golang para buscar dados do CEP e armazenar em cache

Install / Use

/learn @eminetto/GoCep
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

goCep

Projeto em Golang para buscar dados do CEP e armazenar em cache

Compilar

Além de ter o Go instalado no sistema operacional é necessário executar:

go build

Executar

O binário chamado goCep será criado. Basta executá-lo e ele ficará ouvindo na porta 3000 por novas requisições

Testando

Para rodar os tests, você pode executar:

go test

Uso

Basta acessar a URL como no exemplo abaixo

http://localhost:3000/cep/89201405

O retorno será um JSON com o conteúdo

View on GitHub
GitHub Stars90
CategoryDevelopment
Updated1y ago
Forks23

Languages

Go

Security Score

80/100

Audited on Jun 6, 2024

No findings