learn-go-with-tests
go
learn-go-with-tests | go | |
---|---|---|
30 | 2,302 | |
23,094 | 129,613 | |
0.3% | 0.4% | |
7.4 | 10.0 | |
11 days ago | 5 days ago | |
Go | Go | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
learn-go-with-tests
-
[Go, Book Review] Learn Go with Tests by Chris James
There are not particularly bad parts. Overall the book is well written and organized. Moreover, Since it is also an open-source material, many readers have contributed to the contents of the book(including a few of mine :)). I hope there are more books like this for other languages such as Rust or Python.
- quii/learn-go-with-tests: Learn Go with test-driven development
-
Poke 2 Color and Tab Mini C
i.e using this free open source book Learn Gol with Tests
- Offline Resources for Learning Go
-
Please share programming/CS books and articles that use Go as examples(but not strictly about Go)
I really like Learn Go with tests. Not only is it a neat resource for learning Go, but it's great for getting a feeling for TDD.
-
Learn Go with Tests: Scaling acceptance tests (with a light intro to gRPC)
You can try viewing it on github instead https://github.com/quii/learn-go-with-tests/blob/main/scaling-acceptance-tests.md
- Consiglio letture e/o corsi sul TDD
-
From being confident to being professional
If you already know php and want to get professional in go, i suggest you take a look at https://github.com/quii/learn-go-with-tests
-
I’ve studied golang by solving algorithms, what do I have to learn next to land a job?
Learn some TDD: https://github.com/quii/learn-go-with-tests
-
Learn Go with Tests
Hi, author here.
The project is open-source (https://github.com/quii/learn-go-with-tests) so there's a few options available to you.
In releases, you'll find PDFs and epubs, I'm pretty sure most epub readers will let you use a dark mode. Or you can just read the markdown files on GitHub, which also supports it.
go
-
Zig, Rust, Go?! I tried 3 low-level languages and here’s what I’m sticking with
“The language is simple on purpose. If you want cleverness, write LISP.” Go issue tracker discussion
-
I'm too dumb for Zig's new IO interface
> To convert the Stream.Reader to an std.Io.Reader, we need to call its interface() method. To get a std.io.Writer from an Stream.Writer, we need the address of its &interface field. This doesn't seem particularly consistent.
That made me think of how that change would be received in Go (probably would be discarded). They way they approach changes in extremely deep analysis and taking as much time as it needs to avoid mistakes and reach a consistent solution (or as close as possible).
This has been my favorite for a while: https://github.com/golang/go/issues/45624
4 years to decide on something relatively minor, that right now can be done with a bit of a one-liner extra work. But things need to be well thoguth out. Inconsistencies are pointed out. Design concerns are raised. Actual code usage in the real world are taken into account... too slow for some people, but I think it's just as slow as it needs* to be. The final decision is shaping out to be very nice.
-
Go is still not good
It is rare to encounter this in practice, and it does get picked up by the race detector. But the language designers chose not to address it, so I think it's a valid criticism. [1]
Once you know about it, though, it's easy to avoid. I do think, especially given that the CSP features of Go are downplayed nowadays, this should be addressed more prominently in the docs, with the more realistic solutions presented (atomics, mutexes).
I also think Go should add 128-bit atomic operations, which could cover strings and interfaces at least (unfortunately, slices are three words in size). It's on their radar at least [2] and there exists an external package [3].
[1]: https://research.swtch.com/gorace
[2]: https://github.com/golang/go/issues/61236
[3]: https://pkg.go.dev/github.com/CAFxX/atomic128
- Go SIMD Dev Branch
-
Chrome intends to remove XSLT from the HTML spec
Sorry. Was at dinner. It's Russ Cox. Being hungry and in a hurry doesn't help with remembering names.
The GitHub discussion is there: https://github.com/golang/go/discussions/58409
but the words I of Russ I cited is here: https://groups.google.com/g/golang-dev/c/73vJrjQTU1M/m/WKj7p...
Copying verbatim:
It's good to know that's what it looks like. I can tell you that the shouting did not really influence the decision. Long-time Go contributors and supporters commenting quietly or emailing me privately had far greater influence.
-
Cross-Site Request Forgery
A few more links that I collected recently on the topic
https://github.com/golang/go/issues/73626
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/...
https://web.dev/articles/fetch-metadata
https://appliedgo.net/spotlight/csrf-dont-mess-with-my-site/
-
Go 1.25 Release Notes
So now there is at least a workaround to preserve the order when processing JSON. Great!
[1] https://github.com/golang/go/issues/27179#issuecomment-22899...
-
Zig's Lovely Syntax
Anonymous functions aren't the same as lambda functions. People in the Go community keep asking for lambda functions and never get them. There should be no need for func/fn and explicit return. Because the arrow would break stuff is one of the reasons.
See
https://github.com/golang/go/issues/59122
https://github.com/golang/go/issues/21498
-
A subtle bug with Go's errgroup
I'd say it's fair to call this a footgun, though not a bug. The context is really only intended to apply to the goroutines. And Wait has to cancel the context to prevent a resource leak.
I suggest in general using function scoping to drive the lifetime of contexts, etc. This works also for defers and tracing spans in addition to the canonically shadowed `ctx` variable.
There is an old issue in the tracker proposing changes to alleviate this: https://github.com/golang/go/issues/34510. The original author (bcmills) of the errgroup package shared insight into the design choices/tradeoffs he made.
-
Learning Go as a .NET Developer
You can check the language out here!
What are some alternatives?
gobyexample - Go by Example
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
over-golang - Golang相关:[审稿进度80%]Go语法、Go并发思想、Go与web开发、Go微服务设施等
v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
7days-golang - 7 days golang programs from scratch (web framework Gee, distributed cache GeeCache, object relational mapping ORM framework GeeORM, rpc framework GeeRPC etc) 7天用Go动手写/从零实现系列
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).