stripe-archive / safesql

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

Work around GO15VENDOREXPERIMENT for Go 1.5 #7

Closed zenazn closed 8 years ago

zenazn commented 8 years ago

r? @dtbartle

The code to support GO15VENDOREXPERIMENT is in the Go 1.6 go/build package, but not the Go 1.5 one, so we have to implement a custom package finder to support vendor directories.

Spec is here: https://docs.google.com/document/d/1Bz5-UB7g2uPBdOx-rw5t9MxJwkfpx90cqG9AFL0JAYo/edit?pref=2&pli=1

dtbartle commented 8 years ago

lgtm