Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

bwag

> 编程语言
Open source

Source code for the book "Building Web Apps with Go"

197 stars0 likes1 views
WebsiteGitHub

About

Source code for the book "Building Web Apps with Go"

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:

  1. You have installed the Go Programming Language.
  2. You have setup a GOPATH by following the How to Write Go Code tutorial.
  3. You are somewhat familiar with the basics of Go. (The Go Tour is a pretty good place to start)
  4. You have installed all the required packages
  5. You have installed the Heroku Toolbelt
  6. You have a Heroku account

Required Packages

For the most part we will be using the built in packages from the standard library to build out our web apps. Certain lessons such as Databases, Middleware and URL Routing will require a third party package. Here is a list of all the go packages you will need to install before starting:

Name Import Path Description
httprouter github.com/julienschmidt/httprouter A high performance HTTP request router that scales well
Negroni github.com/codegangsta/negroni Idiomatic HTTP Middleware
Black Friday github.com/russross/blackfriday a markdown processor
Render gopkg.in/unrolled/render.v1 Easy rendering for JSON, XML, and HTML
SQLite3 github.com/mattn/go-sqlite3 sqlite3 driver for go

You can install (or update) these packages by running the following command in your console

bash
go get -u 

For instance, if you wish to install Negroni, the following command would be:

bash
go get -u github.com/codegangsta/negroni

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Go

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言