Go: Extracting private struct fields from interface
Description While wrong, for convinience sometimes we use interfaces to pass around values of certain types. An example for this would be the following: package main type S interface{} package main() { var s S s = "someString" } From the golang tutorial we know that if we want to cast (assert) the value of an interface back to the original type, we use
Continue reading