我已经从github复制了C#中的示例xeroAPI包装器。但是,当将相同的代码复制到当前的MVC3项目中时,它会给出一个Object reference not set to an instance of state。callback uri to use - this must match the domain used when the application was registerd on http://api.
据我所知,Go database/sql接口库只需要返回两种类型的结果- 或。但是,至少还有一种类型的结果--单列。DB.column('SELECT COUNT(*) FROM `user` WHERE `banned` IS NOT NULL')
有没有办法处理这个问题--或者我只需要获取一行,然后从该行访问COUNT