stripe-archive / safesql

Static analysis tool for Golang that protects against SQL injections
MIT License
562 stars 47 forks source link

Compile errors #4

Closed zcalusic closed 8 years ago

zcalusic commented 8 years ago

Fails to compile with the following errors:

# github.com/stripe/safesql
safesql/safesql.go:48: cannot use p.Package("database/sql").Pkg (type *"go/types".Package) as type *"golang.org/x/tools/go/types".Package in argument to FindQueryMethods
safesql/safesql.go:123: cannot use m (type *"golang.org/x/tools/go/types".Func) as type *"go/types".Func in argument to ssa.FuncValue