Posted on 26th April 2024
Type Assertion offers access to the substantial basic value of the interface value.
Example;
b := c.(A)
The above statement implies that the interface value "c" maintains the concrete type "A" and allocates the underlying "A' value to the variable "b".
STILL GOT QUERIES?