Conversational bots/A simple echo bot

How to build a conversational bot? Bots are server apps that provide an API so you will need a publicly accessible server to host your bot(s). If you have none, you can use for example Amazon's EC2 which provides a free tier. In general, any server on which one can run apps written in Go can be used. You may also want to download this free iOS app in order to test out your code.

Below is the code of a simple echo bot that just outputs Echo: followed but the user's input. After saving it to echobot.go, run the code using go run echobot.go.