• direct
     go run main.go -conn="root:@tcp(localhost:3306)/test" -tables="test"
  • build
    go build -o ddl *.go
  • cmd bin
    go get  -u github.com/dangerous1990/ddlmysql2clickhouse