Hey there! Do you know I send a weekly Golang newsletter/tutorial? You can subscribe here
A repository for snippets I've posted on Twitter and sometimes Linkedin. All are in the Go Playground for you to experiment with.
I'm Ollie, I'm based in the UK and I offer Go Training, on-site with you, or fully hosted off-site. I love coding in Golang (I've worked in Fintech and Healthtech for lots of years), and I want to help others get there a bit quicker than I did - Go is simple, until it's not :)
Check out the GolangatSpeed website or, get in touch for more information --> [email protected]
For now organised in chronological order (sorry about the hiatus between June and August - blame Covid!)
- Same string different lengths. Wha? #strings
- Omit that time. It is empty! #time
- Never rely on Sorcery. It's not guaranteed to work forever.. #builtin
- Print my list in a Goroutine. Where is it? #goroutines
- Filthy aliasing. Avert your eyes. So NSFW! #imports
- Imported just for its side effects, 'init? #imports
- It doesn't add up? #valuespointers
- Thirsty? Empty inter'face 🍼 #interfaces
- Can iteration be an irritation? #values
- The winner isn't always the one you expect! #races
- This one is for all you reference types #types
- Why 'that' time? You know THAT one? #time
- Pass a value, pass a reference? Copycat! #copies
- I am determined to extend and inherit! #oop
- What a fussy flamin' marshal! #json #marshaler
- What problems do interfaces solve? #interfaces
- Embedding an interface will save you lines of code #interfaces
- Go is not so opinionated on some things.. #variables
- Cheeky overuse of memory by identical array #variables #padding
- Slice & Array, same length same capacity. Same treatment? #referencetypes
- Nobody will complain, but this won't work #returns
- Add new stuff to an imported package
- This doesn't add up...
- Empty Slice vs Nil Slice. It'll getcha! #compositetypes #referencetypes
- There's something not right with my method #compositetypes #receivers #methods
- Naff Map, sorry I mean Nil Map #map #compositetypes #referencetypes
- That's a lot of capacity, do we need it? #make #capacity #compositetypes
- When is an int not an int? #customtypes