本文共 258 字,大约阅读时间需要 1 分钟。
var _ HelloServiceInterface = (*HelloServiceClient)(nil)
1. 创建一个HelloServiceInterface地址,但不会分配内存的,并且如果给字段赋值会报错。
转载地址:http://yszsi.baihongyu.com/