会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
幸运使者
博客园
首页
新随笔
联系
订阅
管理
2019年4月26日
golang接口
摘要: golang接口:实现多态 1.接口的定义(使用者) package main import ( "fmt" "learngo/myinterface/mooc" "learngo/myinterface/real" ) //實現者 type Retriever interface { Get(ur
阅读全文
posted @ 2019-04-26 18:14 幸运使者
阅读(316)
评论(0)
推荐(0)
编辑
公告