This is the most basic way to build and run a go app on docker. The mypackage folder was placed to show how to create custom packages and use them in your app.
Just open a shell window and navigate to the project's folder and then run:
docker build -t your-image-name:tag .
run
docker run your-image-name
this was build based on this post: click