摘要:
package main import ( "fmt" "reflect" ) type Dark interface { Run(string) string Speak(string) string } type bird struct { Name string } func (b *bird 阅读全文
摘要:
package main import "fmt" type Student interface { test() error } type Flag struct {} func (f *Flag) test() error { return nil } func main() { var tes 阅读全文