package
0.0.0-20220406072248-f0734c7d4c2d
Repository: https://github.com/abserari/quicksilver.git
Documentation: pkg.go.dev
# README
Over
-
匿名嵌入结构体的时候的 调用顺序的问题
-
使用 嵌入式的结构体满足接口
操作
查看 例子,自己想一下运行结果
运行试试看
将例子中的一些结构体和字段注释后实验更多次
注意
结构体里有多个匿名字段的时候,同名方法无法分辨
扩展
对更多相关知识感兴趣可以放链接在这里
# Structs
No description provided by the author
There is a struct implements Ready.
No description provided by the author
a struct include these sturct which have same name methods.
We use All struct to implements our own methods logic.
No description provided by the author
# Interfaces
Let's learn this skills how to work in RealWorld Type a interface first.