Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Fri, 22 Mar 2019 19:03:00 +0000 Fetching Private Dependencies with Go Modules – Tim Raymond – Medium Modules are the future of package distribution in Go. They’re in preview mode now, but in 1.13, they’ll be on by default. For projects that only use public dependencies, they work without a hitch… 3 points posted by kenny https://medium.com/@tim_raymond/fetching-private-dependencies-with-go-modules-1d65afe47c62 3862 Fri, 22 Mar 2019 14:59:00 +0000 K9s - 🐶 Kubernetes CLI To Manage Your Clusters In Style! #kubernetes #cli #kubectl K9s is written in GO and provides a curses based terminal UI to interact with your Kubernetes clusters. The aim of this project is to make it easier to navigate, observe and manage your applications in the wild. K9s continually watches Kubernetes for changes and offers subsequent commands to interact with observed resources. 4 points posted by Derailed https://medium.com/@fernand.galiana/if-you-k8s-please-try-k9s-82ea30eb9aa3 3834 Sun, 10 Mar 2019 16:43:00 +0000 The why of Go strings – Phil Pearl – Medium Regular readers of my blog will all be aware that in Go a string is in fact a struct with a pointer to an area of memory containing the byte content of the string and an integer Len that tells you… 4 points posted by kenny https://medium.com/@philpearl/the-why-of-go-strings-d5b3f1df62bb?_referrer=twitter 3833 Sat, 09 Mar 2019 08:37:00 +0000 Idiomatic go resources #tutorials Every time the discussion comes up around “What does good Go code look like”, the response is “check the standard library”. However, not all of the standard library is a good example. Some of it was written early on, before styles had settled down or before best practices were understood and have now been cemented due to neglect or the Go1 Compatibility Guarantee. A better place is to read the evolving Best Practices documents that give style guides that come with the experience of lots of code written, reviewed, and deployed to production, and debugged. 4 points posted by kenny https://medium.com/@dgryski/idiomatic-go-resources-966535376dba 3821 Sat, 02 Mar 2019 06:37:00 +0000 Iterative optimization on hot paths 13 points posted by kenny https://medium.com/samsara-engineering/iterative-optimization-on-hot-paths-c89827749c20 3595 Thu, 04 Oct 2018 19:28:00 +0000 How I write Go HTTP services after seven years – Mat Ryer – Medium I’ve been writing Go (Golang when written down) since r59 — a pre 1.0 release — and have been building HTTP APIs and services in Go for the past seven years. At Machine Box, most of my technical work… 13 points posted by kenny https://medium.com/@matryer/how-i-write-go-http-services-after-seven-years-37c208122831 3333 Thu, 10 May 2018 06:41:00 +0000 Doing Well by Doing Bad: Writing Bad Code with Go What if easy-to-understand code is not in my best interest. Maybe I should write unmaintainable code for the job security? Which got me thinking about how to bring bad design to Go programs. 11 points posted by kenny https://medium.com/capital-one-tech/doing-well-by-doing-bad-writing-bad-code-with-go-part-1-2dbb96ce079a 3613 Tue, 16 Oct 2018 20:00:00 +0000 Go code refactoring : the 23x performance hunt – Val Deleplace – Medium I read an article called "Good Code vs Bad Code in Golang" and tweaked the provided source code to make the execution time as fast as possible. 11 points posted by kenny https://medium.com/@val_deleplace/go-code-refactoring-the-23x-performance-hunt-156746b522f7 3380 Mon, 11 Jun 2018 16:08:00 +0000 Building a real time messaging server in go 9 points posted by kenny https://medium.com/@fzambia/building-real-time-messaging-server-in-go-5661c0a45248 3653 Sun, 11 Nov 2018 06:31:00 +0000 source{d} engine beta for code retrieval and analysis 9 points posted by kenny https://medium.com/sourcedtech/announcing-source-d-engine-beta-for-code-retrieval-and-analysis-and-source-d-lookout-alpha-for-d5d6702e0a48 3607 Sat, 13 Oct 2018 20:43:00 +0000 Write your own mutex in 28 lines of go 8 points posted by cheshir https://medium.com/@cheshirysh/handmade-mutex-in-28-lines-of-go-205ff5b13dbc 3571 Thu, 20 Sep 2018 00:31:00 +0000 A debugger from scratch — part 1 – Liz Rice – Medium Have you ever wondered how debuggers work? What happens when you set a breakpoint? How does the debugger control the flow of your program, or change values in variables? Let’s find out by writing a… 8 points posted by kenny https://medium.com/@lizrice/a-debugger-from-scratch-part-1-7f55417bc85f 3496 Sat, 11 Aug 2018 15:40:00 +0000 Web components in go 8 points posted by Everton Marques https://medium.com/@magyarvladimir/web-components-in-go-3a2488725f68 3430 Wed, 11 Jul 2018 16:56:00 +0000 Issuing your NEP-5 token on NEO’s Private net using Go #cryptocurrency 7 points posted by tomf https://medium.com/@likkee.chong/neo-token-contract-nep-5-in-go-f6b0102c59ee 3589 Mon, 01 Oct 2018 09:20:00 +0000 Getting started into go and webassembly 7 points posted by sendilkumarn https://medium.com/@sendilkumarn/getting-started-into-go-and-webassembly-8491b133a616 3502 Tue, 14 Aug 2018 16:02:00 +0000 Configuring Google’s Pixelbook to Contribute to Go – Daniela Petruzalek – Medium In my previous article I’ve explained how I’ve set up my Google Pixelbook for development in Go. Since tomorrow starts Gophercon UK, I’m in the mood for digging a little deeper, so I decided to make… 7 points posted by kenny https://medium.com/@danielapetruzalek/configuring-googles-pixelbook-to-contribute-to-go-2be955c21936 3466 Wed, 01 Aug 2018 21:08:00 +0000 Canceling mysql in go #mysql #context #cancel 6 points posted by pj https://medium.com/@rocketlaunchr.cloud/canceling-mysql-in-go-827ed8f83b30 3632 Sun, 28 Oct 2018 12:20:00 +0000 Doing well by doing bad: Writing bad code with Go, part 2 This is the second and final part of my series on writing bad code in Go. This part takes a program written using idiomatic Go and re-writes it using my evil frameworks, Fall and Outboy. 5 points posted by jonbodner https://medium.com/capital-one-tech/doing-well-by-doing-bad-writing-bad-code-with-go-part-2-e270d305c9f7 3616 Mon, 22 Oct 2018 01:48:00 +0000 Do you need a web framework for go? 4 points posted by tusharsoni https://medium.com/@tusharsoni/do-you-need-a-web-framework-for-go-51171bb0ea8c 3746 Thu, 27 Dec 2018 16:36:00 +0000 Monitoring a golang application with Supervisor #ops 4 points posted by Elton Minetto https://medium.com/@eminetto/monitoring-a-golang-application-with-supervisor-da09cc18b498 3696 Thu, 29 Nov 2018 11:43:00 +0000 Json api errors with go 4 points posted by anvdoza https://medium.com/@ddymko/json-api-errors-with-go-351237d1256 3686 Sun, 25 Nov 2018 23:52:00 +0000 Data migration with Golang and MongoDB One item addressed by the <a href="https://12factor.net/" data-href="https://12factor.net" class="markup--anchor markup--p-anchor" rel="nofollow noopener" target="_blank">twelve-factor app</a>&nbsp;method is the automation of administrative processes, such as script execution and data migration. This is exactly what I will talk about in this post: how we automate the migration of data using Go and MongoDB. 3 points posted by Elton Minetto https://medium.com/@eminetto/data-migration-with-golang-and-mongodb-d2930e7f3b8a 3779 Wed, 23 Jan 2019 15:33:00 +0000 Better go syntax (igo project) Everyone knows that Go is a verbose language.<br>igo is Go-improved:<div> <ul><li>fordefer</li> <li>&amp;constants and &amp;functions</li> <li>defer go</li> </ul></div> 3 points posted by pj https://medium.com/@rocketlaunchr.cloud/better-go-syntax-igo-project-6678fc65ff68 3751 Tue, 01 Jan 2019 13:25:00 +0000 On programming languages, culture, and benchmarks 3 points posted by jonbodner https://medium.com/capital-one-tech/on-programming-languages-culture-and-benchmarks-87869fa88ba6 3737 Thu, 20 Dec 2018 15:36:00 +0000 Future of GopherJS and Go in the browser This post compares GopherJS to Go 1.11 and its new experimental WebAssembly port, suggests how Web API binding libraries can evolve to support both compilers, and provides context on the history and… 3 points posted by tollela https://medium.com/gopherjs/future-of-gopherjs-and-go-in-the-browser-cc1667468160 3725 Sat, 15 Dec 2018 17:28:00 +0000 Koazee vs go funk vs go linq <h3><b>A benchmark comparison between Koazee, Go-Funk and Go-Linq</b></h3><div><b><br></b></div><div>A benchmark comparison between frameworks based on providing a functional API to deal with slices.</div> 3 points posted by IVAN CORRALES SOLERA https://medium.com/@ivan.corrales.solera/koazee-vs-go-funk-vs-go-linq-caf8ef18584e 3715 Tue, 11 Dec 2018 21:26:00 +0000 A tale of three kings - Python, Elixir and Go #performance How we tested Python, Elixir and Go’s abilities to rebuild some of Unbabel’s core services 16 points posted by norbertfuhs https://medium.com/unbabel-dev/a-tale-of-three-kings-e0be17a16e2b 1880 Mon, 06 Mar 2017 17:38:00 +0000 Running go on low memory devices 15 points posted by kenny https://medium.com/samsara-engineering/running-go-on-low-memory-devices-536e1ca2fe8f 2590 Wed, 30 Aug 2017 18:53:00 +0000 A walkthrough of pkg strconv 14 points posted by kenny https://medium.com/@benbjohnson/go-walkthrough-strconv-7a24632a9e73 1083 Sun, 18 Sep 2016 06:37:00 +0000 Introducing vice - go channels across many machines #concurrency #goroutines <p name="bd61" id="bd61" class="graf graf--p graf-after--figure">Concurrency is a great way to get more stuff done faster. Go channels are perfect for enabling multiple concurrent goroutines to safely communicate within a single process, but if we want to let multiple machines/nodes communicate in a similar way, we have to write completely different code and integrate with messaging queues, gRPC, or something else. Until now.</p> 13 points posted by kenny https://medium.com/@matryer/introducing-vice-go-channels-across-many-machines-bcac1147d7e2 2445 Fri, 28 Jul 2017 14:28:00 +0000 Code boilerplate, is it always bad? #errors #python 13 points posted by kenny https://medium.com/@shazow/code-boilerplate-is-it-always-bad-934827efcfc7 2163 Wed, 03 May 2017 19:49:00 +0000 Http load balancing on grpc services #grpc 13 points posted by lolly https://medium.com/@gdm85/http-load-balancing-on-grpc-services-e3d702db05d7 1192 Thu, 03 Nov 2016 10:37:00 +0000 Calling go from swift 13 points posted by drogo https://medium.com/@rakyll/calling-go-from-swift-be88709942c3 150 Tue, 06 Oct 2015 16:05:00 +0000 Deploy Full Serverless Applications with a Single Command One of our main objectives with the Fn Project is to have a very easy and elegant user experience. From your first touch with our quickstart to building and deploying complex applications, we want to… 12 points posted by kenny https://medium.com/fnproject/deploy-full-serverless-applications-with-a-single-command-4f16e3707d26 3070 Wed, 03 Jan 2018 18:47:00 +0000 Bit hacking with go In the good old days of computing when memory was expensive and processing power was at premium, hacking on bits directly was the preferred (in some cases the only) way to process information. Today, direct bit manipulation is still crucial in many computing use cases such as low-level system programming, image processing, cryptography, etc. 12 points posted by andythomas https://medium.com/learning-the-go-programming-language/bit-hacking-with-go-e0acee258827 1667 Fri, 03 Feb 2017 10:17:00 +0000 Why go? 12 points posted by drogo https://medium.com/@joaoh82/why-go-ef8850dc5f3c 1249 Mon, 21 Nov 2016 18:58:00 +0000 Daily code optimization using benchmarks and profiling #gophercon #profiling A gophercon india 2016 talk by Karthic Rao - need some help with analyzing whether algorithm A performs faster than B? Or can I know whether method A performs better than method B? Or is approach A to send JSON response to the client performs better than approach B? How to find answers for everyday performance related questions? 12 points posted by lolly https://medium.com/@hackintoshrao/daily-code-optimization-using-benchmarks-and-profiling-in-golang-gophercon-india-2016-talk-874c8b4dc3c5 612 Sat, 20 Feb 2016 23:58:00 +0000 Introducing silk - markdown driven api tests #docs 12 points posted by kenny https://medium.com/@matryer/introducing-silk-markdown-driven-api-tests-1f8cfb0ef99a 599 Wed, 17 Feb 2016 22:21:00 +0000 Should I Rust, or Should I Go Blogpost comparing Rust with Go&nbsp; by Atari Safari <br> 11 points posted by norbertfuhs https://medium.com/@atari.safari/should-i-rust-or-should-i-go-59a298e00ea9 2879 Thu, 02 Nov 2017 10:45:00 +0000 Building distributed systems and Microservices in Go with Nats Streaming 11 points posted by Brian Flannery https://medium.com/@shijuvar/building-distributed-systems-and-microservices-in-go-with-nats-streaming-d8b4baa633a2 2801 Sat, 14 Oct 2017 16:36:00 +0000 Streaming IO in Go #medium Blogpost about IO streaming basics with io.reader and io.writer by @VladimirVivien the author of Learning Go Programming https://www.packtpub.com/application-development/learning-go-programming<br> 11 points posted by norbertfuhs https://medium.com/learning-the-go-programming-language/streaming-io-in-go-d93507931185 2655 Thu, 14 Sep 2017 17:35:00 +0000 What is the future for go? 11 points posted by tomf https://medium.com/@IndianGuru/what-is-the-future-for-go-e002b06a240b 2179 Sun, 07 May 2017 13:31:00 +0000 5 Reasons Why We switched from Python To Go #medium Blog post by @tigranbs Founder/CEO at TreeScale.com 11 points posted by norbertfuhs https://medium.com/@tigranbs/5-reasons-why-we-switched-from-python-to-go-4414d5f42690 2049 Fri, 07 Apr 2017 05:39:00 +0000 Golangspec - to understand Go’s specification 11 points posted by lolly https://medium.com/golangspec 1368 Fri, 16 Dec 2016 09:21:00 +0000 Go walkthrough of the fmt pkg 11 points posted by kenny https://medium.com/@benbjohnson/go-walkthrough-fmt-55a14bbbfc53 1094 Wed, 21 Sep 2016 16:57:00 +0000 A walkthrough of the io package 11 points posted by kenny https://medium.com/@benbjohnson/go-walkthrough-io-package-8ac5e95a9fbd 969 Mon, 01 Aug 2016 19:31:00 +0000 Making the switch from node.js to Go at digg 11 points posted by kenny https://medium.com/@theflapjack103/the-way-of-the-gopher-6693db15ae1f 735 Sat, 26 Mar 2016 17:23:00 +0000 I wrote some golang and it felt great 10 points posted by kenny https://medium.com/@chrisgregori/i-wrote-some-golang-and-it-felt-great-3c3367a67db5 2184 Mon, 08 May 2017 14:32:00 +0000 Don't use go's default http client 10 points posted by Jingtao https://medium.com/@nate510/don-t-use-go-s-default-http-client-4804cb19f779 2103 Wed, 19 Apr 2017 15:43:00 +0000 Linux netlink and Go 10 points posted by kenny https://medium.com/@mdlayher/linux-netlink-and-go-part-1-netlink-4781aaeeaca8 1789 Tue, 21 Feb 2017 21:16:00 +0000