go-patterns icon indicating copy to clipboard operation
go-patterns copied to clipboard

Curated list of Go design patterns, recipes and idioms

Results 71 go-patterns issues
Sort by recently updated
recently updated
newest added

Because the type of p at line 29 is"*chan *Object" , so at line 32, 35 should use *p instead of p directly.

Add install and build instructions to README for people not familiar with gitbook-cli

There are parts that you show in how to use the pattern that aren't in the example of creating it. i.e. NewBuilder(), Paint(..), etc...

We've implemented this for scaling worker base on parent channel traffic

An example of the flyweight pattern in Golang is given here: http://www.hydrogen18.com/blog/golang-embedding.html