Go语言实践技巧(10)——type literal


A type determines the set of values and operations specific to values of that type. Types may be named or unnamed. Named types are specified by a (possibly qualified) type name; unnamed types are specified using a type literal, which composes a new type from existing types.

可以理解为,unnamed types就被称作type literal