原书出处
Go语言精进之路 _ 从新手到高手的编程思想,方法和技巧 = Go programming from beginners
) { DumpMethodSet((*Interface3)(nil)) }
自Go 1.14版本开始,Go语言去除了这个约束。我们使用Go 1.14版本运行上述示例,将得到如下正确结果: // Go 1.14 $go run method_set_4.go method_set_utils.go
main.Interface3's method set: - M1 - M2
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Go语言精进之路 _ 从新手到高手的编程思想,方法和技巧 = Go programming from beginners/_epub-src/Text/Chapter24_0002.xhtml
EPUB SHA-256:ed420a18343af13da5588084e52b5c80baf71e64b3a9b7abcfbaa002f7e4d02f