Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Wed, 28 Feb 2018 07:21:00 +0000 Video: The hidden power of humble interfaces by aditya mukerjee #interfaces 11 points posted by gopher https://www.youtube.com/watch?v=s4e-cFhT620 844 Sun, 22 May 2016 12:47:00 +0000 Fun with nil interfaces #interfaces 9 points posted by kenny https://katcipis.github.io/2016/09/17/fun-with-nil-interfaces.html 1080 Sat, 17 Sep 2016 17:52:00 +0000 Demystifying Go's io dot reader and io dot writer #interfaces 9 points posted by lolly http://nathanleclaire.com/blog/2014/07/19/demystifying-golangs-io-dot-reader-and-io-dot-writer-interfaces 601 Thu, 18 Feb 2016 08:49:00 +0000 Interfaces in Go part 3 #interfaces This story introduces another set of interfaces-related topics in Golang. It explains things like method expression derived from interface types, interface type values as map keys or interfaces of embedded fields. 8 points posted by tollela https://medium.com/golangspec/interfaces-in-go-part-iii-61f5e7c52fb5 1824 Mon, 27 Feb 2017 20:19:00 +0000 Interfaces in go #interfaces Interfaces in Go (part I) Interfaces make the code more flexible, scalable and it’s a way to achieve polymorphism in Go. Instead of requiring a particular type, interfaces allow you to specify that only some behaviour is needed. 8 points posted by lolly https://medium.com/golangspec/interfaces-in-go-part-i-4ae53a97479c 1757 Fri, 17 Feb 2017 09:46:00 +0000 Logging, interfaces, and allocation #interfaces This post is about some new compiler optimizations scheduled for Go 1.9, but I want to start with logging. 8 points posted by gopher http://commaok.xyz/post/interface-allocs 1684 Tue, 07 Feb 2017 09:27:00 +0000 A list of all Go interfaces in the std lib #interfaces <p>While attending dotGo, where the buzzword was clearly <em style="box-sizing: border-box;">the interface</em>, I was wondering where I could find a list of all interfaces defined in the GO language. I found nowhere.</p> <p>Thus I decided to write a little GO program that would;</p><ul style="box-sizing: border-box; margin-bottom: 10px; color: rgb(51, 51, 51); font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);"><li style="box-sizing: border-box;">Downloads the GO source tarball for a given version.</li><li style="box-sizing: border-box;">Parses source files to extract the interface names and line number where they are defined.</li><li style="box-sizing: border-box;">Write this list on the console in the markdown format.</li> </ul><p>The project is on Github: <a href="https://github.com/c4s4/gointerfaces" style="box-sizing: border-box; color: rgb(51, 122, 183);">https://github.com/c4s4/gointerfaces</a>.</p> 8 points posted by lolly http://sweetohm.net/article/go-interfaces.en.html 603 Thu, 18 Feb 2016 15:53:00 +0000 Object Orientation in Go #oop #interfaces #protocols 5 points posted by katcipis https://katcipis.github.io/blog/object-orientation-go 3007 Sat, 09 Dec 2017 13:47:00 +0000 Interface Semantics #interfaces 5 points posted by gopher https://www.goinggo.net/2017/07/interface-semantics.html 2854 Fri, 27 Oct 2017 12:59:00 +0000