经过一番查找,User字段中,有个关联的字段,使用的RoleIds []int64,这个数据解析不出来。
后来调整成RoleIds []int,数据就能够解析出来了。
虽然问题找到并解决了,但是不清楚问题的真实原因是什么,后续需要仔细的研究。
如果出现:
warning: building out-of-date packages: runtime/pprof testing regexp/syntax regexp installing these packages with 'go test -i' will speed future tests.
GO语言标准包 GO语言杂谈 GO语言语法 GO语言错误处理 GO语言技巧 Go语言项目 操作系统相关 数据库相关 GO语言第三方包 GO语言框架
Copyright © 2016, golog.cc