├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── README.md ├── example ├── conf │ └── conf.go ├── model │ └── user.go ├── schema │ └── 1.user.sql └── store │ ├── connect.go │ ├── user.go │ ├── user.light.go │ └── user_test.go ├── generator ├── generate.go ├── generate_test.go └── template.go ├── go.mod ├── go.sum ├── goparser ├── method.go ├── params.go ├── parse.go ├── parse_test.go ├── profile.go ├── results.go └── variable.go ├── light.jpg ├── light └── execer.go ├── main.go ├── null ├── bool.go ├── clickhousetime.go ├── floats.go ├── ints.go ├── null.go ├── null_test.go ├── string.go ├── time.go ├── time_test.go └── timestamp.go └── sqlparser ├── ast.go ├── create.go ├── create_test.go ├── delete.go ├── delete_test.go ├── insert.go ├── insert_test.go ├── parser.go ├── replace.go ├── scanner.go ├── select.go ├── select_test.go ├── token.go ├── update.go └── update_test.go /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/README.md -------------------------------------------------------------------------------- /example/conf/conf.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/example/conf/conf.go -------------------------------------------------------------------------------- /example/model/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/example/model/user.go -------------------------------------------------------------------------------- /example/schema/1.user.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/example/schema/1.user.sql -------------------------------------------------------------------------------- /example/store/connect.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/example/store/connect.go -------------------------------------------------------------------------------- /example/store/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/example/store/user.go -------------------------------------------------------------------------------- /example/store/user.light.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/example/store/user.light.go -------------------------------------------------------------------------------- /example/store/user_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/example/store/user_test.go -------------------------------------------------------------------------------- /generator/generate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/generator/generate.go -------------------------------------------------------------------------------- /generator/generate_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/generator/generate_test.go -------------------------------------------------------------------------------- /generator/template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/generator/template.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/go.sum -------------------------------------------------------------------------------- /goparser/method.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/goparser/method.go -------------------------------------------------------------------------------- /goparser/params.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/goparser/params.go -------------------------------------------------------------------------------- /goparser/parse.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/goparser/parse.go -------------------------------------------------------------------------------- /goparser/parse_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/goparser/parse_test.go -------------------------------------------------------------------------------- /goparser/profile.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/goparser/profile.go -------------------------------------------------------------------------------- /goparser/results.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/goparser/results.go -------------------------------------------------------------------------------- /goparser/variable.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/goparser/variable.go -------------------------------------------------------------------------------- /light.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/light.jpg -------------------------------------------------------------------------------- /light/execer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/light/execer.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/main.go -------------------------------------------------------------------------------- /null/bool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/null/bool.go -------------------------------------------------------------------------------- /null/clickhousetime.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/null/clickhousetime.go -------------------------------------------------------------------------------- /null/floats.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/null/floats.go -------------------------------------------------------------------------------- /null/ints.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/null/ints.go -------------------------------------------------------------------------------- /null/null.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/null/null.go -------------------------------------------------------------------------------- /null/null_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/null/null_test.go -------------------------------------------------------------------------------- /null/string.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/null/string.go -------------------------------------------------------------------------------- /null/time.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/null/time.go -------------------------------------------------------------------------------- /null/time_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/null/time_test.go -------------------------------------------------------------------------------- /null/timestamp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/null/timestamp.go -------------------------------------------------------------------------------- /sqlparser/ast.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/sqlparser/ast.go -------------------------------------------------------------------------------- /sqlparser/create.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/sqlparser/create.go -------------------------------------------------------------------------------- /sqlparser/create_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/sqlparser/create_test.go -------------------------------------------------------------------------------- /sqlparser/delete.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/sqlparser/delete.go -------------------------------------------------------------------------------- /sqlparser/delete_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/sqlparser/delete_test.go -------------------------------------------------------------------------------- /sqlparser/insert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/sqlparser/insert.go -------------------------------------------------------------------------------- /sqlparser/insert_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/sqlparser/insert_test.go -------------------------------------------------------------------------------- /sqlparser/parser.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/sqlparser/parser.go -------------------------------------------------------------------------------- /sqlparser/replace.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/sqlparser/replace.go -------------------------------------------------------------------------------- /sqlparser/scanner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/sqlparser/scanner.go -------------------------------------------------------------------------------- /sqlparser/select.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/sqlparser/select.go -------------------------------------------------------------------------------- /sqlparser/select_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/sqlparser/select_test.go -------------------------------------------------------------------------------- /sqlparser/token.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/sqlparser/token.go -------------------------------------------------------------------------------- /sqlparser/update.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/sqlparser/update.go -------------------------------------------------------------------------------- /sqlparser/update_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omigo/light/HEAD/sqlparser/update_test.go --------------------------------------------------------------------------------