=> Re: "Go - can someone explain why empty interfaces can hold any..." | In: s/programming
I guess that makes sense. I first saw this when reading about using an interface as a value in a map for json.
2024-11-23 ยท 2 months ago
Go - can someone explain why empty interfaces can hold any value, where it seems "regular" interfaces only define functions? In other words, why can the empty interface hold something other than a function definition? new to Go and interfaces in general...
=> ๐ฌ gritty ยท 2 comments ยท 2024-11-23 ยท 2 months ago This content has been proxied by September (3851b).Proxy Information
text/gemini; charset=utf-8