我可以通过两种方式声明函数类型:
type opener = func() error
type opener func() error
这些声明之间有什么区别?为什么你会使用一个而不是另一个?
慕的地10843
相关分类