In practice-go we often use table driven testing to be able to test all function scenarios. For example the FindAnagrams() function returns us a list of anagrams found in the dictionary for given input. To be able to test this function properly we need to test multiple cases, li...
Migrating an ElasticSearch cluster from version 2 to 5 can be challenging, even more if it is a big cluster.
In this post we will explore one of the strategies that can be used to do
such migration, setting a up a playground environment in which we can learn
the migration proced...
I’ve started GoReleaser almost 2 years ago. This is a
summary of (some) things I’ve learned down the road.
GoReleaser logo
I already talked about GoReleaser here a few times, if you feel like reading
about it first:
Announce;
1k users.
I tried to or...
This is a text version of the “packagemain #12: Microservices with go-kit.
Introduction Best practices for performing client authentication with gRPC is a question that comes up again and again, so I thought I’d dive into a few different methods for performing authentication, using the tools provided by the Go gRPC packages.
Today we’ll expl...
Introduction It’s often said that gRPC is tied to the Google Protocol Buffers payload format, but this is not strictly true. While the default format for gRPC payloads is Protobuf, the gRPC-Go implementation exposes a Codec interface which allows arbitrary payload encoding....
Hi Gophers!
We’re working hard to organize the first GopherCon in Vietnam, HCMC this year.
Introduction I teach a class called Ultimate Go. The class is three days long and teaches you the history, mechanics and semantics of the Go programming language. The idea is to teach you how to read code to the level that you can understand the behavior and impact your program i...
It has been one month since I started working fully remote, and I think I learned some things I can share.
I break the post down in good, bad and lessons learned:
What’s good
There are plenty of good things I found out working fully remote. Being able of working full remot...
For the past couple of years I've used Sublime Text as my primary code editor, along with the GoSublime plugin to provide some extra IDE-like features.
But I've recently swapped GoSublime for a more modular plugin setup and have been really happy with the way it's worked out. A...