Letβs make a simple todo app with Go
Generally, Go is perfect for building microservices, but that doesnβt mean building a simple MVC app is difficult. Go has built-in support for parsing HTML templates, although we wonβt focus on that in this case. First, letβs write the Go code to serve an HTML page and save it in a directory. In this example, letβs create a directory called todoapp and inside it, create a home.tpl file. Paste the HTML content in home.tpl, which will make an HTTP call to our backend application. ...