Tag: Assertion

Golang type conversion summary

There are 4 types of type-conversions in Go: Assertion. Forced type conversion. Explicit type conversion. Implicit type conversion. Commonly said type conversion refers to assertion, forced type conversion is not used in daily life, explicit is a basic type conversion...