Homepage
Open in app
Sign in
Get started
Stupid Gopher Tricks
Some things that you can do with Go
Follow
More Powerful Synchronization in Go, using Channels
Here’s a common predicament: you have a value, e.g., some string or number or struct, that can be read and written by many goroutines, and…
Jason
Jan 12, 2017
Ensuring Go interface satisfaction at compile-time
In my last post, I described a technique to ensure that a test implementation satisfies an interface, without having to implement every…
Jason
Oct 22, 2015
Stubbing Out Interfaces in Go
Here’s a situation in which you may find yourself. You have a service that exposes a lot of functionality. Because you’re a good software…
Jason
Jul 16, 2015
About Stupid Gopher Tricks
Latest Stories
Archive
About Medium
Terms
Privacy
Teams