2015年12月10日
摘要: 相信这样的语句在go中大家见的很多switch t := arg.(type) {default: fmt.Printf("unexpected type %T\n", t) // %T prints whatever type t hascase bool: fmt.Print... 阅读全文
posted @ 2015-12-10 15:54 baizx 阅读(643) 评论(0) 推荐(0) 编辑