|
You are here |
fernandocorreia.dev | ||
| | | | |
yasoob.me
|
|
| | | | | Hi people! I am working at ASAPP and a lot of my work involves writing Golang code. This is the first time I am working with Golang full-time. I picked up a couple of tricks from my colleagues and mentors here and would like to share them with you. In this particular post, I will talk about the empty struct. There was a scenario where I wanted to check if two slices contained the same elements or not. | |
| | | | |
golangbot.com
|
|
| | | | | A string is a slice of bytes in Go. The == operator is used to compare two strings for equality. RuneCountInString function is used to find the length of the string. | |
| | | | |
hermanschaaf.com
|
|
| | | | | Benchmarks of various approaches | |
| | | | |
hypirion.com
|
|
| | | A thought experiment on how one could add row polymorphism to Go. | ||