对这段代码有点困惑。
var _ QueryAppender = (*selectQuery)(nil)
我在pg-go 存储库中找到了这段代码,但不知道为什么QueryAppender要这样声明。请解释一下我应该以这种方式声明变量的用例是什么。
QueryAppender
开满天机
相关分类