<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 7, 2017 at 9:37 AM, jesus m. rodriguez <span dir="ltr"><<a href="mailto:jesusr@redhat.com" target="_blank">jesusr@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, 2017-07-07 at 09:13 -0400, jesus m. rodriguez wrote:<br>
> On Fri, 2017-07-07 at 04:33 -0400, Burr Sutter wrote:<br>
> > I would like to add a helloworld Go REST endpoint to my mix of<br>
> > demos<br>
><br>
> [snip]<br>
><br>
> ><br>
> > I even have Node.js (needs work to make it match)<br>
> > <a href="https://github.com/burrsutter/kube4docker/blob/master/node-demo/hel" rel="noreferrer" target="_blank">https://github.com/burrsutter/<wbr>kube4docker/blob/master/node-<wbr>demo/hel</a><br>
> > lo<br>
> > -http.js<br>
> ><br>
> > and I can wrap them easily up in Docker and throw then into Kube<br>
> > but I thought it would be fun to have a Go example - anybody have a<br>
> > super<br>
> > simple Go REST endpoint and a Dockerfile?<br>
> ><br>
><br>
> Burr,<br>
><br>
> I can cut down our old server to be a single example endpoint for<br>
> you.<br>
><br>
> <a href="https://github.com/fusor/cap-server/blob/master/main.go" rel="noreferrer" target="_blank">https://github.com/fusor/cap-<wbr>server/blob/master/main.go</a><br>
><br>
> jesus<br>
<br>
</span>I'll add a Dockerfile file for you. But here's a simple go example.<br>
<br>
<a href="https://github.com/jmrodri/go-demo/blob/master/main.go" rel="noreferrer" target="_blank">https://github.com/jmrodri/go-<wbr>demo/blob/master/main.go</a><br>
<br></blockquote><div>thank you and I am very curious to know what the Dockerfile looks like - never seen one for a "go app"</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
jesus<br>
<br>
--<br>
jesus m. rodriguez          | <a href="mailto:jesusr@redhat.com">jesusr@redhat.com</a><br>
principal software engineer | irc: zeus<br>
red hat systems management  | <a href="tel:919.754.4413" value="+19197544413">919.754.4413</a> (w)<br>
rhce # 805008586930012      |<br>
+-----------------------------<wbr>----------------+<br>
|   "Those who cannot remember the past       |<br>
|    are condemned to repeat it."             |<br>
|                        -- George Santayana  |<br>
+-----------------------------<wbr>----------------+<br>
<div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
Container-tools mailing list<br>
<a href="mailto:Container-tools@redhat.com">Container-tools@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/container-tools" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/container-<wbr>tools</a><br>
</div></div></blockquote></div><br></div></div>