package main import ( "fmt" "git.diulo.com/mogfee/kit/mysql/ddl" ) func main() { err := ddl.Parser("/Users/mogfee/web/kit/cmd/mysql-kit/test_gozero.sql", func(table *ddl.Table) error { ddl.PrintJson(table) return nil }) fmt.Println(err) }