Interface guards in Go (rednafi.com)
from nebiros@programming.dev to golang@programming.dev on 27 Aug 2023 03:47
https://programming.dev/post/2199189

#golang

threaded - newest

dbx12@programming.dev on 28 Aug 2023 05:05 collapse

Turns out this technique has a name. I’ve seen them in terraform provider templates and thought “nice idea”.