百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

bwag

> 编程语言
开源

《使用 Go 构建 Web 应用程序》一书的源代码

197 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

《使用 Go 构建 Web 应用程序》一书的源代码

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Go

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

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