Simple Web App Example

Thanks @joncalhoun and @CurtGreen

After a couple of hours of messing around and head banging I’ve cobbled these together. I suppose its not impossible that they might be of some use to others at some time in the future as crazy simple examples of how to:

  • Run a simple web server
  • Collect some input into a textbox
  • Allow the user to click a submit box and have the textbox data sent back to a Go function.
  • Perform some processing on the data sent and send it back for display on the page

Works great and I’m delighted with it. This could be the bare bones of something much more sophisticated!

Go app:

html (bootstrap enabled) template:

Thanks again.