Content and build toolchain for Go+ by Tutorials, a site that teaches Go+ via annotated tutorials.
The Go+ by Tutorials site is built by extracting code and
comments from source files in tutorials
and rendering
them via the templates
into a static public
directory. The programs implementing this build process
are in tools
, along with dependencies specified in
the go.mod
file.
The built public
directory can be served by any
static content system.
To build the site you'll need Go installed. Run:
$ tools/build
To build continuously in a loop:
$ tools/build-loop
To see the site locally:
$ tools/serve
and open http://127.0.0.1:8000/
in your browser.
This work is copyright Mark McGranaghan and licensed under a Creative Commons Attribution 3.0 Unported License.
The Go Gopher is copyright Renée French and licensed under a Creative Commons Attribution 3.0 Unported License.
-
Thanks to gobyexample project, this project is built upon it.
-
Thanks to Jeremy Ashkenas for Docco, which inspired this project.