摘要:
接口类型判断:接口.(类型) 1.类型查询:查询接口数据对应的类型是否是指定的类型 2.类型转化:如果是指定类型,就将数据转化为接口类型查询: 1.reflect.TypeOf(接口) 2.接口.(Type) 阅读全文
posted @ 2020-09-26 22:38
菜鸟++
阅读(1354)
评论(0)
推荐(0)
摘要:
0x00 问题 exported function xxx should have comment or be unexported。 0x01 解决 https://golang.org/s/style 在这个页面中有提到 Comment SentencesSee https://golang.o 阅读全文
posted @ 2020-09-26 01:54
菜鸟++
阅读(3455)
评论(0)
推荐(0)
浙公网安备 33010602011771号