Skip to content

A simple (almost minimal) service written in GO with a multistage docker build & 15MB container size

License

Notifications You must be signed in to change notification settings

Sph3ricalPeter/go-service-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple GO Service

A simple (almost minimal) service written in GO with a multistage docker build & 15MB container size

Usage

Simply run the following command to start the service:

docker compose up

There's a single endpoint /alive:

curl http://localhost:8080/alive
# prints out {"message":"Yo I'm alive!"}

Calling the endpoint will print:

go-base-app  | [GIN] 2024/03/06 - 18:37:39 | 200 |     142.333µs |    192.168.65.1 | GET      "/alive"

About

A simple (almost minimal) service written in GO with a multistage docker build & 15MB container size

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages