Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Learn Go with test-driven development
| Date | Stars |
|---|---|
| 2026-07-24 | 23777 |
| 2026-07-25 | 23777 |
| 2026-07-28 | 23777 |
| 2026-07-30 | 23777 |
| 2026-08-06 | 23777 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# Learn Go with Tests <p align="center"> <img src="red-green-blue-gophers-smaller.png" /> </p> [Art by Denise](https://twitter.com/deniseyu21) [](https://goreportcard.com/report/github.com/quii/learn-go-with-tests) ## Formats - [Gitbook](https://quii.gitbook.io/learn-go-with-tests) - [EPUB or PDF](https://github.com/quii/learn-go-with-tests/releases) ## Translations - [中文](https://studygolang.gitbook.io/learn-go-with-tests) - [Português](https://larien.gitbook.io/aprenda-go-com-testes/) - [日本語](https://andmorefine.gitbook.io/learn-go-with-tests/) - [Français](https://goosegeesejeez.gitbook.io/apprendre-go-par-les-tests) - [한국어](https://miryang.gitbook.io/learn-go-with-tests/) - [Türkçe](https://halilkocaoz.gitbook.io/go-programlama-dilini-ogren/) - [فارسی](https://go-yaad-begir.gitbook.io/go-ba-test/) - [Nederlands](https://bobkosse.gitbook.io/leer-go-met-tests/) - [Tiếng Việt](https://sons-organization-15.gitbook.io/learn-go-with-tests) ## Support me I am proud to offer this resource for free, but if you wish to give some appreciation: - [Tweet me @quii](https://twitter.com/quii) - <a rel="me" href="https://mastodon.cloud/@quii">Mastodon</a> - [Buy me a coffee :coffee:](https://www.buymeacoffee.com/quii) - [Sponsor me on GitHub](https://github.com/sponsors/quii) ## Why * Explore the Go language by writing tests * **Get a grounding with TDD**. Go is a good language for learning TDD because it is a simple language to learn and testing is built-in * Be confident that you'll be able to start writing robust, well-tested systems in Go * [Watch a video, or read about why unit testing and TDD is important](why.md) ## Table of contents ### Go fundamentals 1. [Install Go](install-go.md) - Set up environment for productivity. 2. [Hello, world](hello-world.md) - Declaring variables, constants, if/else statements, switch, write your first go program and write your first test. Sub-test syntax and closures. 3. [Integers](integers.md) - Further Explore function declaration syntax and learn new ways to improve the documentation of your code. 4. [Iteration](iteration.md) - Learn about `for` and benchmarking. 5. [Arrays and slices](arrays-and-slices.md) - Learn about arrays, slices, `len`, varargs, `range` and test coverage. 6. [Structs, methods & interfaces](structs-methods-and-interfaces.md) - Learn about `struct`, methods, `interface` and table driven tests. 7. [Pointers & errors](pointers-and-errors.md) - Learn about pointers and errors. 8. [Maps](maps.md) - Learn about storing values in the map data structure. 9. [Dependency Injection](dependency-injection.md) - Learn about dependency injection, how it relates to using interfaces and a primer on io. 10. [Mocking](mocking.md) - Take some existing untested code and use DI with mocking to test it. 11. [Concurrency](concurrency.md) - Learn how to write concurrent code to make your software faster. 12. [Select](select.md) - Learn how to synchronise asynchronous processes elegantly. 13. [Reflection](reflection.md) - Learn about reflection 14. [Sync](sync.md) - Learn some functionality from the sync package including `WaitGroup` and `Mutex` 15. [Context](context.md) - Use the context package to manage and cancel long-running processes 16. [Intro to property based tests](roman-numerals.md) - Practice some TDD with the Roman Numerals kata and get a brief intro to property based tests 17. [Maths](math.md) - Use the `math` package to draw an SVG clock 18. [Reading files](reading-files.md) - Read files and process them 19. [Templating](html-templates.md) - Use Go's html/template package to render html from data, and also learn about approval testing 20. [Generics](generics.md) - Learn how to write functions that take generic arguments and make your own generic data-structure 21. [Revisiting arrays and slices with generics](revisiting-arrays-and-slices-with-generics.md) - Generics are very useful when
Excerpt of 10,759 characters
Read on GitHubChris James · United Kingdom
803
pityonline · China
53
David Wickes · @springernature. Formerly @mergermarket @saltpay @triptease @makersacademy · United Kingdom
45
Artem Chernyak
28
Ruth Baker · United Kingdom
20
Pedro
10
Norbert Klar · Hungary
8
7
Charles Clinton Pustejovsky III · FOSS · Georgia
7
Andrew Ivchenkov · Greece
6
Mukul Rawat
6
Roland Siegbert
6
Pamela Fox · @microsoft · United States
6
Lindsay Ryan · @springernature · United Kingdom
6
Josef Hoerandtner · Springer Nature · Austria
5
Sung Ju Yea · Japan
5
Jaga Santagostino · Independent Consultant
5
Dario Piotrowicz · Cloudflare
5
Ali Asad Lotia
5
Alex Popov · Zipchat
5
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:d35ce160d2bf04d0, topic:testing