I am playing with type assertion using the following dummy code, and I got the error:
cannot type switch on non-interface value
Doe
There are no typecasts in Go. You are doing a type conversion.