GO类型嵌套

在GO结构体类型中嵌套一个其余的类型能够到达继承的目的。golang 语法:c# struct {spa T | *Tcode }对象 A field or method f of an anonymous field in a struct x is called promoted if x.f is a legal selector that denotes that field or met
相关文章
相关标签/搜索