Shanraq.org Shanraq.org

Go: from the first line to a bookshop

in progress · Edition 0.4

A practical Go book from scratch: one example grows from the first line into a working online shop. Three levels: junior, middle, senior.

Go: from the first line to a bookshop

The book goes from the first line of Go to a working online shop. It is one example that grows with the reader: first the program prints a book’s title in the terminal, then come the price and the condition, the catalogue, the database, the server, payment, and a deployment of its own.

The programme is 42 chapters on three levels. Junior — the language and the first programs. Middle — database, HTTP, tests, tooling. Senior — resilience, performance, security and operations.

The code in the book is code that runs. Every executable chapter has a checkpoint of its own: a separate module you can build and run, and the output printed in the text is checked against the program’s real output every time the book is built.

The preface and chapters 1–8 are ready: the workspace, the first program, values, conditions, functions and the first test, strings, the catalogue, structs and pointers. The remaining chapters are being written.

The book is written in Russian. Formats: PDF, EPUB and HTML.

What the buyer gets

A right to the edition: the file stays yours, with no limit on reading or printing it for yourself. We write to you about each new edition, and the update is free.

Offer and refund rules

Read the free excerpt A PDF, no sign-up.

What you can buy

The book

9 900 ₸

  • The whole book: PDF and EPUB
  • Every future edition free
  • No DRM: the file is yours to keep

Book and code

19 900 ₸

  • Everything in “The book”, plus HTML for reading in a browser
  • The complete source code of the shop the book builds
  • Every future edition of both the book and the code

Tell me when it is out

Leave your address — we write once, when the book is out. No newsletter, no advertising.