golang func 函数名前的参数
时间:2020-05-08 22:59:38
收藏:0
阅读:717
func (t *type) f() error {
}
这里的(t *type)
其实就是C#中 type类型的扩展方法
可以在type类型实例中调用该方法 (type).f()
原文:https://www.cnblogs.com/jarryHu/p/12852968.html
评论(0)