Related questions
Golang and inheritance
I want to provide a base struct with methods in my library that can be 'extended'.
The methods of this base struct rely on methods from the extending struct.
This is not directly possible in Go, because struct methods only …
How do I write a function for multiple types in Golang?
I'm trying to write a helper function that can take in different custom Types in Golang, but I can't figure out how to do it exactly the way I want. Here's the situation (incidentally, I'm building an API that returns …