spar

module
v0.0.0-...-7bcaf64 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2019 License: MIT

README

spar

Cloud Spanner DDL parser in Go

Usage

  • Pass your Spanner DDL to parser.Parse() and get parsed statements.
  • See detail on cmd/spck/spck.go

subtool

spck is a Spanner DDL syntax checker. It parses and returns exit code 0 if no error.

$ go get -u github.com/syucream/spar/cmd/spck
$ spck ./examples/create_table.sql

Directories

Path Synopsis
cmd
spck command
src
lexer
Copy from https://github.com/benbjohnson/sql-parser
Copy from https://github.com/benbjohnson/sql-parser

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL