You can use this module independently
Install the package with:
go get github.com/ruiaylin/sqlparser
Make the module before use:
cd $GOPATH/src/github.com/ruiaylin/sqlparser/
make
Import it with:
import "github.com/ruiaylin/sqlparser/parser"
and use parser as the package name inside the code.
➜ parser git:(master) cd test ; go test parser_test.go
ok command-line-arguments 0.044s