timothymalcham / go-web-app

Learning Go by building the app from the book "Let's Go"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-web-app

Learning Go by building the app from the book "Let's Go"

Three Essential Aspects of a Go Webapp

  1. Handler - think a controller in traditional MVC. Execute app logic and handle HTTP response header/bodies.
  2. Router (servemux) - maps url patterns to handlers. Usually one servemux per app.
  3. Web Server - listen to incoming requests from the web app itself. No need for a third party like Nginx or Apache.

About

Learning Go by building the app from the book "Let's Go"


Languages

Language:CSS 54.4%Language:Go 33.7%Language:HTML 9.9%Language:JavaScript 2.0%