golang sample app
$ go get github.com/ushios/go-sample
$ go-sample -o
Hello, World
| option | |
|---|---|
| o | output Hello, World |
| p | make panic |
| s | run http server on localhost:8080 (using env:GO_SAMPLE_HTTP_PORT if you want to change the port) |
$ docker run -p 80:8080 ushios/go-sample
Checking localhost
$ curl localhost
Hello, World
$ docker build -t go-sample .
$ docker run -it --rm --name run-go-sample -p 80:8080 go-sample
Content type
Image
Digest
Size
244.6 MB
Last updated
about 10 years ago
docker pull uzyexe/go-sample