Mark McGranaghan c38a8df39d more readme
2012-10-09 10:36:17 -07:00
2012-10-09 08:39:32 -07:00
2012-10-09 08:28:53 -07:00
2012-10-09 09:28:58 -07:00
2012-10-09 09:27:22 -07:00
2012-10-09 07:47:56 -07:00
2012-10-09 10:36:17 -07:00

Go by Example

Source for Go by Example, a hands-on guide to Go.

Overview

This repo contains:

  • src: Go and Bash source code for the site
  • meta: metadata used to generate the site
  • templates: HTML templates and CSS for the site
  • tool: toolchain used to generate the site

The site is built by by extracting the code & comments from the .go and .sh source files in src, and rendering that data according to meta and templates via the programs in tool.

Usage

Generation requires the pygmentize binary for syntax highlighting.

To validate the source, generate the site, and open the home page in your browser:

$ tool/build
$ open site/index.html

License

This work is licensed under a Creative Commons Attribution 3.0 Unported License.

Description
Go by Example
Readme
Languages
Go 59.8%
CSS 31.6%
Shell 8.6%