cmd中进入到%GOLANG%srcgo-acitest目录,执行
go build test.go
如图
备注:需要在数据库中创建test表:
create table test( a int ,b text);