Comments (3)
github.com/go-xorm/builder
../github.com/go-xorm/builder/builder.go:352: undefined: sql.NamedArg
../github.com/go-xorm/builder/builder.go:364: undefined: sql.Named
../github.com/go-xorm/builder/sql.go:110: undefined: sql.NamedArg
github.com/go-xorm/core
../github.com/go-xorm/core/db.go:120: db.DB.QueryContext undefined (type *sql.DB has no field or method QueryContext)
../github.com/go-xorm/core/db.go:206: db.DB.ExecContext undefined (type *sql.DB has no field or method ExecContext)
../github.com/go-xorm/core/db.go:206: not enough arguments to return
../github.com/go-xorm/core/db.go:218: db.DB.ExecContext undefined (type *sql.DB has no field or method ExecContext)
../github.com/go-xorm/core/db.go:218: not enough arguments to return
../github.com/go-xorm/core/stmt.go:29: db.DB.PrepareContext undefined (type *sql.DB has no field or method PrepareContext)
../github.com/go-xorm/core/stmt.go:50: s.Stmt.ExecContext undefined (type *sql.Stmt has no field or method ExecContext)
../github.com/go-xorm/core/stmt.go:50: not enough arguments to return
../github.com/go-xorm/core/stmt.go:67: s.Stmt.ExecContext undefined (type *sql.Stmt has no field or method ExecContext)
../github.com/go-xorm/core/tx.go:17: undefined: sql.TxOptions
../github.com/go-xorm/core/stmt.go:67: too many errors
github.com/go-sql-driver/mysql
../github.com/go-sql-driver/mysql/connection.go:475: undefined: driver.TxOptions
../github.com/go-sql-driver/mysql/connection.go:481: undefined: sql.IsolationLevel
../github.com/go-sql-driver/mysql/connection.go:481: undefined: sql.LevelDefault
../github.com/go-sql-driver/mysql/connection.go:495: undefined: driver.NamedValue
../github.com/go-sql-driver/mysql/connection.go:514: undefined: driver.NamedValue
../github.com/go-sql-driver/mysql/connection.go:548: undefined: driver.NamedValue
../github.com/go-sql-driver/mysql/connection.go:567: undefined: driver.NamedValue
../github.com/go-sql-driver/mysql/connection.go:631: undefined: driver.NamedValue
../github.com/go-sql-driver/mysql/utils.go:730: undefined: driver.NamedValue
../github.com/go-sql-driver/mysql/utils.go:742: undefined: driver.IsolationLevel
../github.com/go-sql-driver/mysql/connection.go:481: too many errors
github.com/lib/pq
../github.com/lib/pq/conn_go18.go:13: undefined: driver.NamedValue
../github.com/lib/pq/conn_go18.go:31: undefined: driver.NamedValue
../github.com/lib/pq/conn_go18.go:45: undefined: driver.TxOptions
../github.com/lib/pq/conn_go18.go:48: undefined: sql.IsolationLevel
../github.com/lib/pq/conn_go18.go:49: undefined: sql.LevelDefault
../github.com/lib/pq/conn_go18.go:51: undefined: sql.LevelReadUncommitted
../github.com/lib/pq/conn_go18.go:53: undefined: sql.LevelReadCommitted
../github.com/lib/pq/conn_go18.go:55: undefined: sql.LevelRepeatableRead
../github.com/lib/pq/conn_go18.go:57: undefined: sql.LevelSerializable
../github.com/lib/pq/notify.go:790: undefined: time.Until
../github.com/lib/pq/notify.go:790: too many errors
github.com/google/go-github/github
../github.com/google/go-github/github/search.go:230: undefined: url.PathEscape
mv: rename main to x-patrol_darwin_amd64: No such file or directory
github.com/go-xorm/builder
../github.com/go-xorm/builder/builder.go:352: undefined: sql.NamedArg
../github.com/go-xorm/builder/builder.go:364: undefined: sql.Named
../github.com/go-xorm/builder/sql.go:110: undefined: sql.NamedArg
github.com/go-xorm/core
../github.com/go-xorm/core/db.go:120: db.DB.QueryContext undefined (type *sql.DB has no field or method QueryContext)
../github.com/go-xorm/core/db.go:206: db.DB.ExecContext undefined (type *sql.DB has no field or method ExecContext)
../github.com/go-xorm/core/db.go:206: not enough arguments to return
../github.com/go-xorm/core/db.go:218: db.DB.ExecContext undefined (type *sql.DB has no field or method ExecContext)
../github.com/go-xorm/core/db.go:218: not enough arguments to return
../github.com/go-xorm/core/stmt.go:29: db.DB.PrepareContext undefined (type *sql.DB has no field or method PrepareContext)
../github.com/go-xorm/core/stmt.go:50: s.Stmt.ExecContext undefined (type *sql.Stmt has no field or method ExecContext)
../github.com/go-xorm/core/stmt.go:50: not enough arguments to return
../github.com/go-xorm/core/stmt.go:67: s.Stmt.ExecContext undefined (type *sql.Stmt has no field or method ExecContext)
../github.com/go-xorm/core/tx.go:17: undefined: sql.TxOptions
../github.com/go-xorm/core/stmt.go:67: too many errors
github.com/go-sql-driver/mysql
../github.com/go-sql-driver/mysql/connection.go:475: undefined: driver.TxOptions
../github.com/go-sql-driver/mysql/connection.go:481: undefined: sql.IsolationLevel
../github.com/go-sql-driver/mysql/connection.go:481: undefined: sql.LevelDefault
../github.com/go-sql-driver/mysql/connection.go:495: undefined: driver.NamedValue
../github.com/go-sql-driver/mysql/connection.go:514: undefined: driver.NamedValue
../github.com/go-sql-driver/mysql/connection.go:548: undefined: driver.NamedValue
../github.com/go-sql-driver/mysql/connection.go:567: undefined: driver.NamedValue
../github.com/go-sql-driver/mysql/connection.go:631: undefined: driver.NamedValue
../github.com/go-sql-driver/mysql/utils.go:730: undefined: driver.NamedValue
../github.com/go-sql-driver/mysql/utils.go:742: undefined: driver.IsolationLevel
../github.com/go-sql-driver/mysql/connection.go:481: too many errors
github.com/lib/pq
../github.com/lib/pq/conn_go18.go:13: undefined: driver.NamedValue
../github.com/lib/pq/conn_go18.go:31: undefined: driver.NamedValue
../github.com/lib/pq/conn_go18.go:45: undefined: driver.TxOptions
../github.com/lib/pq/conn_go18.go:48: undefined: sql.IsolationLevel
../github.com/lib/pq/conn_go18.go:49: undefined: sql.LevelDefault
../github.com/lib/pq/conn_go18.go:51: undefined: sql.LevelReadUncommitted
../github.com/lib/pq/conn_go18.go:53: undefined: sql.LevelReadCommitted
../github.com/lib/pq/conn_go18.go:55: undefined: sql.LevelRepeatableRead
../github.com/lib/pq/conn_go18.go:57: undefined: sql.LevelSerializable
../github.com/lib/pq/notify.go:790: undefined: time.Until
../github.com/lib/pq/notify.go:790: too many errors
from x-patrol.
我当时没有使用包管理,依赖的包都是通过go get
安装的。刚才在一台全新的mac中编译了下,结论是可以正常build。以下为全部需要安装的包列表:
go get github.com/etsy/hound/codesearch/sparse
go get github.com/go-macaron/cache
go get github.com/go-macaron/captcha
go get github.com/go-macaron/csrf
go get github.com/go-macaron/session
go get github.com/go-sql-driver/mysql
go get github.com/go-xorm/core
go get github.com/go-xorm/xorm
go get github.com/google/go-github/github
go get github.com/lib/pq
go get github.com/sirupsen/logrus
go get github.com/urfave/cli
go get github.com/x-cray/logrus-prefixed-formatter
go get golang.org/x/oauth2
go get gopkg.in/ini.v1
go get gopkg.in/macaron.v1
from x-patrol.
嗯,之前用的go版本偏低,改成最新的build正常
from x-patrol.
Related Issues (20)
- 本地仓库搜索报错 HOT 1
- 403 You have triggered an abuse detection mechanism. Please wait a few minutes before you try again HOT 2
- error while running go-get HOT 1
- 全局搜索关键字 HOT 1
- 代码扫描不全 HOT 3
- scan功能一直提示空指针,go语言不知道怎么修改,求大佬指点 HOT 1
- 功能咨询 HOT 4
- 一运行就panic HOT 3
- Error: cannot load github.com/etsy/hound/codesearch/sparse HOT 1
- cannot load github.com/hound-search/hound/codesearch/sparse HOT 15
- 希望可以有一个搭建文档,和一个新手问题解决如果有那就太棒了 HOT 1
- 运行无结果 HOT 2
- Potential case-insensitive import collision
- 401 Bad credentials
- 想运行下看看效果真是难
- 嗨,已忽略的仓库,下次scan还会被扫描出来吗 HOT 1
- 我总结了个搭建文档
- 求助如何解决,感谢 HOT 1
- 添加github账户一直报502错误。这是什么原因啊
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from x-patrol.