├── .env.example ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── go.mod ├── go.sum ├── handlers ├── handler.go ├── info.go ├── info_test.go └── write_response.go ├── main.go └── server └── server.go /.env.example: -------------------------------------------------------------------------------- 1 | PORT=8080 -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bruno-chavez/go-microservice-template/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .env 3 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bruno-chavez/go-microservice-template/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bruno-chavez/go-microservice-template/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bruno-chavez/go-microservice-template/HEAD/README.md -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bruno-chavez/go-microservice-template/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bruno-chavez/go-microservice-template/HEAD/go.sum -------------------------------------------------------------------------------- /handlers/handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bruno-chavez/go-microservice-template/HEAD/handlers/handler.go -------------------------------------------------------------------------------- /handlers/info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bruno-chavez/go-microservice-template/HEAD/handlers/info.go -------------------------------------------------------------------------------- /handlers/info_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bruno-chavez/go-microservice-template/HEAD/handlers/info_test.go -------------------------------------------------------------------------------- /handlers/write_response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bruno-chavez/go-microservice-template/HEAD/handlers/write_response.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bruno-chavez/go-microservice-template/HEAD/main.go -------------------------------------------------------------------------------- /server/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bruno-chavez/go-microservice-template/HEAD/server/server.go --------------------------------------------------------------------------------