golang 类型断言两种形式 Comma-ok断言 switch断言 (element.(type)语法) 具体代码参考上面链接https://github.com/webtao520/golang_project/tree/master/go%E5%BA%94%E7%94%A8
发表回复