阅读背景:

如何使用反射调用Golang中的扫描变分函数?

来源:互联网 

I'm looking to call the Rows.Scan() function using reflection. However it takes a variable number of pointers, but I'm new to Golang and there are not a lot of source examples. I need to use reflection because I plan on filling a slice with the values from a Query call. So basically using function us




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: