Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Wed, 01 Mar 2017 16:02:00 +0000 Principles of designing go apis with channels Channels are concurrent-safe queues that are used to safely pass messages between Go’s lightweight processes (goroutines). Together, these primitives are some of the most popularly touted features of the Go programming language. The message-passing style they encourage permits the programmer to safely coordinate multiple concurrent tasks with easy-to-reason-about semantics and control flow that often trumps the use of callbacks or shared memory. 7 points posted by kenny https://inconshreveable.com/07-08-2014/principles-of-designing-go-apis-with-channels 1829 Tue, 28 Feb 2017 05:51:00 +0000