golang sdk中有段源码
type comparable interface{ comparable }
如果改写成如下就会报错
type comparable1 interface{ comparable1 }
问题是为什么第一种可以这么写没有语法错误,而第二种就有问题呢?
golang sdk中有段源码
type comparable interface{ comparable }
如果改写成如下就会报错
type comparable1 interface{ comparable1 }
问题是为什么第一种可以这么写没有语法错误,而第二种就有问题呢?