摘要:
demo如下: package main import "fmt" //定义一个接口 type Phone interface { speak() read() } //以下结构体可以分别设置自己的属性 type IPhone struct { name string } type Oppo str 阅读全文
posted @ 2023-03-07 19:46
aaronthon
阅读(30)
评论(0)
推荐(0)