A playground for Golang experimentation
docker build -t go-playground .
- Build the Docker imagedocker run go-playground
- Run without arguments
OR
docker run go-playground /app/go-playground <args>
- Run with the given arguments
go run ./main <args>
- Run the main.go file with the given arguments
Argument | Description |
---|---|
-h | --help |
Print the help message |
-lt |
Log with timestamps (UTC) |