directory
0.0.0-20220910142224-c294b087b96d
Repository: https://github.com/astaxie/build-web-application-with-golang.git
Documentation: pkg.go.dev

# Packages

Example code for Chapter 1.2 from "Build Web Application with Golang" Purpose: Run this file to check if your workspace is setup correctly.
Example code for Chapter ? from "Build Web Application with Golang" Purpose: Hello world example demonstrating UTF-8 support.
Example code for Chapter 2.2 from "Build Web Application with Golang" Purpose: Goes over the assignment and manipulation of basic data types.
Example code for Chapter 2.3 from "Build Web Application with Golang" Purpose: Goes over if, else, switch conditions, loops and defer.
Example code for Chapter 2.4 from "Build Web Application with Golang" Purpose: Shows different ways of creating a struct.
No description provided by the author
No description provided by the author
No description provided by the author
Example code for Chapter 3.2 from "Build Web Application with Golang" Purpose: Shows how to acces the form values from the request.
Example code for Chapter 3.4 from "Build Web Application with Golang" Purpose: Shows how to create a handler for `http.ListenAndServe()` Run `go run main.go` then access `http://localhost:9090`.
Example code for Chapter 4.1 from "Build Web Application with Golang" Purpose: Shows how to create a simple login using a template Run: `go run main.go`, then access `http://localhost:9090` and `http://localhost:9090/login`.
Example code for Chapter 4.2 from "Build Web Application with Golang" Purpose: Shows how to perform server-side validation of user input from a form.
Example code for Chapter 4.3 from "Build Web Application with Golang" Purpose: Shows how to properly escape input.
Example code for Chapter 3.2 from "Build Web Application with Golang" Purpose: Shows how to prevent duplicate submissions by using tokens Example code for Chapter 4.4 based off the code from Chapter 4.2 Run `go run main.go` then access http://localhost:9090.
Example code for Chapter 4.5 Purpose is to create a server to handle uploading files.
Example code for Chapter 5.2 from "Build Web Application with Golang" Purpose: Use SQL driver to perform simple CRUD operations.
Example code for Chapter 5.3 from "Build Web Application with Golang" Purpose: Shows how to run simple CRUD operations using a sqlite driver.
Example code for Chapter 5.4 from "Build Web Application with Golang" Purpose: Show how to perform CRUD operations using a postgres driver.
Example code for Chapter 5.5 Purpose is to show to use BeeDB ORM for basic CRUD operations for sqlite3.
No description provided by the author