From c613dd8717986fabda433d76d1c1036a9ec43ea0 Mon Sep 17 00:00:00 2001 From: Joseph Spurrier Date: Sun, 24 Apr 2016 10:04:42 -0400 Subject: [PATCH] Fixed some typos --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b186309..d91d796 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Basic MVC Web Application in Go -This project demonstrates how to structure and build a website using the Go language without a framework. +This project demonstrates how to structure and build a website using the Go language without a framework. There is also a blog article you can read at [http://www.josephspurrier.com/go-web-app-example/](http://www.josephspurrier.com/go-web-app-example/). To download, run the following command: @@ -115,7 +115,7 @@ parses to parses to - + {{LINK "register" "Create a new account."}} parses to Create a new account. @@ -127,7 +127,7 @@ parses to There are a few variables you can use in templates as well: ~~~ html - + {{if eq .AuthLevel "auth"}} You are logged in. {{else}} @@ -245,7 +245,6 @@ Handle the database query: // Get database result result, err := model.UserByEmail(email) -// Determine if password is correct if err == sql.ErrNoRows { // User does not exist } else if err != nil {