4 ms·
It's typedObj, ok = something.(type) just like it is with maps, or any other ", ok" thing. http://play.golang.org/p/I-5kD88knC http://play.golang.org/p/I
by zeeboo 14y ago
It's
typedObj, ok = something.(type)
just like it is with maps, or any other ", ok" thing.
http://play.golang.org/p/I-5kD88knC http://play.golang.org/p/I-5kD88knC
- drivebyacct2 14y agoOi vey, mea culpa.