The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
Learn Go Through Small, Practical Programs and One Real App
You can already code. Give Go a few evenings.
Seventeen short chapters. Small programs that do real things. Plain English, no filler. And one app — tally, an expense tracker — that grows with every chapter, from a single Println to goroutines, JSON and its own web API.
Every program in the book really ran. Every output is real. Every chapter ends with the questions an interviewer might ask you.
Go Basics: from go run . to a web server, one practical step at a time.
Minimum price
$8.00
$11.00
About the Book
Go Basics: Learn Go Through Small, Practical Programs and One Real App
by Simran · Byte Sized Software · Go 1.27 · 220 pages
You already know how to program. Now you want to learn Go, quickly and properly. This book teaches the whole language in plain, simple English, one idea at a time, with small programs that do something useful: a tip calculator, a word counter, a worker pool, a JSON web server. Every program in the book was really run, and every output you see is the output it really printed.
Alongside the small programs, you build one real app: tally, an expense tracker for the terminal. It starts as a few lines that print a banner. Chapter by chapter, it learns to add expenses, keep categories and notes, save its data as JSON, import several files at the same time with goroutines, and serve its own web API.
What you will learn
- Variables, types, control flow and functions, including Go's way of handling errors
- Slices, maps, strings, structs and pointers
- Methods, interfaces, errors you can check, and packages and modules
- Generics, files and JSON (with the new encoding/json/v2), goroutines and channels, select, mutexes and context
- A web server built with the standard library alone, then building your program for Linux and Windows
About the Author
Simran is a software developer and the author of the Byte Sized Software books, practical guides to programming. Every book is built around a real app, and every program in it is really run, so readers learn from code that works.
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
Learn more about writing on Leanpub
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.