golang 打印变量类型

fmt.Println("type:", reflect.TypeOf(err.Error()))

  

posted @ 2018-01-25 13:18  换行程序员  阅读(4215)  评论(0编辑  收藏  举报