MediumConceptStructs, interfaces and generics
Why can an interface holding a nil pointer be non-nil?
This answer is part of Pro
12 of 90 Golang Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousWhen should you use a pointer receiver versus a value receiver?Next What does "accept interfaces, return structs" mean?