Example used to demonstrate docker init
CLI for a simple Hello World Go Program
You can simply use make run
command or do it yourself with go run main.go
Those commands will start a http server listening on port 8080
and if your request http://localhost:8080
you'll see the following output:
❯ curl http://localhost:8080
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
{ / ===-
\______ O __/
\ \ __/
\____\_______/
Hello from Go!