package
Version:
v0.0.0-...-9d91cd3
Opens a new window with list of versions in this module.
Published: Oct 15, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func DuckDance(duck IDuck)
DuckDance .
Test1 方法和类型的反射
反射是通过检查一个接口的值,变量首先被转换成空接口。
type IDuck interface {
Quack()
Walk()
}
IDuck .
Source Files
¶
Click to show internal directories.
Click to hide internal directories.