[Container-tools] Go newbie

jesus m. rodriguez jesusr at redhat.com
Fri Jul 7 13:13:35 UTC 2017


On Fri, 2017-07-07 at 04:33 -0400, Burr Sutter wrote:
> I would like to add a helloworld Go REST endpoint to my mix of demos

[snip]

> 
> I even have Node.js (needs work to make it match)
> https://github.com/burrsutter/kube4docker/blob/master/node-demo/hello
> -http.js
> 
> and I can wrap them easily up in Docker and throw then into Kube
> but I thought it would be fun to have a Go example - anybody have a
> super
> simple Go REST endpoint and a Dockerfile?
> 

Burr,

I can cut down our old server to be a single example endpoint for you.

https://github.com/fusor/cap-server/blob/master/main.go

jesus




More information about the Container-tools mailing list