Interface 转string,说需要断言

donovan · 2016-10-12 08:03:05 · 2131 次点击

是传进去的temp1为空没赋值为string吧

#1
更多评论

interface{}的类型为nil,表示没有类型初始化。

#2