Introduction
Welcome to Building Web Apps with Go! If you are reading this then you have just started your journey from noob to pro. No seriously, web programming in Go is so fun and easy that you won’t even notice how much information you are learning along the way!
Keep in mind that there are still portions of this book that are incomplete and need some love. The beauty of open source publishing is that I can give you an incomplete book and it is still of value to you. Before we get into all the nitty gritty details, let’s start with some ground rules:
Prerequisites
To keep this tutorial small and focused, I’m assuming that you are prepared in the following
ways:
- You have installed the Go Programming Language.
- You have setup a GOPATH by following the How to Write Go Code tutorial.
- You are somewhat familiar with the basics of Go. (The Go Tour is a pretty good place to
start) - You have installed all the required packages
- You have installed the Heroku Toolbelt
- You have a Heroku account
Table of Contents
- Introduction
- Go Makes Things Simple
- The net/http package
- Creating a Basic Web App
- Deployment
- URL Routing
- Middleware
- Rendering
- JSON
- HTML Templates
- Using The render package
- Testing
- Unit Testing
- End to End Testing
- Controllers
- Databases
- Tips and Tricks
- Moving Forward
Happy learning!