17
Interface guards in Go
(rednafi.com)
Turns out this technique has a name. I've seen them in terraform provider templates and thought "nice idea".
This is a community dedicated to the go programming language.
Useful Links:
Rules: