karlseguin/the-little-go-book

TeX

2,342

167 commits

updated Jul 31, 2026

See the code

README

About

The Little Go Book is a free book introducing Go.

The book was written by Karl Seguin, author of:

License

The book is freely distributed under the Attribution-NonCommercial-ShareAlike 4.0 International.

Translations

Formats

The book is written in Markdown and converted to PDF using Pandoc.

The TeX template makes use of Lena Herrmann's JavaScript highlighter.

Kindle and ePub format provided using Pandoc.

Generating books

Packages listed below are for Ubuntu. If you use another OS or distribution names would be similar.

PDF

Dependencies

Packages:

  • pandoc
  • texlive-xetex
  • texlive-latex-extra
  • texlive-latex-recommended

You should have some fonts installed too. Or you could change them to other ones if you want. Consider that fonts could cause building troubles.

Building

Run make en/go.pdf.

ePub

Dependencies

Packages:

  • pandoc

Building

Run make en/go.epub.

Mobi

Dependencies

Packages:

  • pandoc

You should have Kindle Previewer installed too.

Building

Run make en/go.mobi.

Title Image

A PSD of the title image is included. The font used is Comfortaa.

karlseguin/the-little-go-book

TeX

2,342

167 commits

updated Jul 31, 2026

See the code

README

About

The Little Go Book is a free book introducing Go.

The book was written by Karl Seguin, author of:

License

The book is freely distributed under the Attribution-NonCommercial-ShareAlike 4.0 International.

Translations

Formats

The book is written in Markdown and converted to PDF using Pandoc.

The TeX template makes use of Lena Herrmann's JavaScript highlighter.

Kindle and ePub format provided using Pandoc.

Generating books

Packages listed below are for Ubuntu. If you use another OS or distribution names would be similar.

PDF

Dependencies

Packages:

  • pandoc
  • texlive-xetex
  • texlive-latex-extra
  • texlive-latex-recommended

You should have some fonts installed too. Or you could change them to other ones if you want. Consider that fonts could cause building troubles.

Building

Run make en/go.pdf.

ePub

Dependencies

Packages:

  • pandoc

Building

Run make en/go.epub.

Mobi

Dependencies

Packages:

  • pandoc

You should have Kindle Previewer installed too.

Building

Run make en/go.mobi.

Title Image

A PSD of the title image is included. The font used is Comfortaa.

Project health

Overall

3.7/10

Maintained

1/10

Code review

6/10
OpenSSF Scorecard

Significant stargazers

rongfu.leng

80 followers · starred Jul 2019

Anton Telyshev

105 followers · starred Oct 2020

Amit Saha

187 followers · starred Jun 2015

Haoran Wang

49 followers · starred Jan 2016