2022-11-28
|~3 min read
|519 words
Joseph Spurrier has a great gist about how to think about pointers in Golang. He’s also made it available in an interactive Go playground. I…
2022-11-28
|~2 min read
|263 words
I was trying to understand more about how to actually use the package within Golang. Fortunately, Go By Example has a great set of…
2022-11-28
|~1 min read
|154 words
Every now and then GoLand seems to get in a borked state where none of the references in my Go project actually resolve. It’s annoying…
2022-11-28
|~1 min read
|1 words
https://www.geeksforgeeks.org/function-returning-multiple-values-in-go-language/
2022-11-28
|~1 min read
|66 words
slides Super summary: “Do cool things with boring code.” Not particularly innovative Not a super robust type system But there’s normally a…
2022-11-28
|~4 min read
|783 words
To demonstrate a few basics of an HTTP server and API with Go, I’ll use the Star Wars API (swapi.dev). Useful packages: encoding/json…
2022-11-28
|~1 min read
|140 words
Adding an module to your Go program requires registering it in the file. For the basics, see: Get started with Go. However, here’s a simple…
2022-11-28
|~1 min read
|187 words
If you’re working in Golang and you want to understand how a function works you can access documentation locally via ’s CLI command: You…
2022-11-28
|~2 min read
|346 words
Imagine we’re counting the nucleotides in a given strand of DNA. If there’s an invalid nucleotide, we want to abort the process. How might…
2022-11-28
|~2 min read
|264 words
Another entry in my Package Discovery series. Today, I’m looking at . Jaime Pillora wrote a nifty little application called Spy. Described…
2022-11-28
|~4 min read
|614 words
In A Tour of Go, one of the options is to run the tour offline. The instructions seem simple enough: Install Go Run the command to fetch the…