{"modulePath":"github.com/acoderup/goctl","version":"v1.1.7","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package command\n\n## Variables\n\n```go\nvar (\n\t// VarStringSrc describes the source file of sql.\n\tVarStringSrc string\n\t// VarStringDir describes the output directory of sql.\n\tVarStringDir string\n\t// VarBoolCache describes whether the cache is enabled.\n\tVarBoolCache bool\n\t// VarBoolIdea describes whether is idea or not.\n\tVarBoolIdea bool\n\t// VarStringURL describes the dsn of the sql.\n\tVarStringURL string\n\t// VarStringSliceTable describes tables.\n\tVarStringSliceTable []string\n\t// VarStringStyle describes the style.\n\tVarStringStyle string\n\t// VarStringDatabase describes the database.\n\tVarStringDatabase string\n\t// VarStringSchema describes the schema of postgresql.\n\tVarStringSchema string\n\t// VarStringHome describes the goctl home.\n\tVarStringHome string\n\t// VarStringRemote describes the remote git repository.\n\tVarStringRemote string\n\t// VarStringBranch describes the git branch of the repository.\n\tVarStringBranch string\n\t// VarBoolStrict describes whether the strict mode is enabled.\n\tVarBoolStrict bool\n\t// VarStringSliceIgnoreColumns represents the columns which are ignored.\n\tVarStringSliceIgnoreColumns []string\n\t// VarStringCachePrefix describes the prefix of cache.\n\tVarStringCachePrefix string\n)\n```\n\n## Functions\n\n```go\nfunc MySqlDataSource(_ *cobra.Command, _ []string) error\n```\nMySqlDataSource generates model code from datasource\n\n```go\nfunc MysqlDDL(_ *cobra.Command, _ []string) error\n```\nMysqlDDL generates model code from ddl\n\n```go\nfunc PostgreSqlDataSource(_ *cobra.Command, _ []string) error\n```\nPostgreSqlDataSource generates model code from datasource\n\n","path":"github.com/acoderup/goctl/model/sql/command","name":"command","synopsis":"","isRedistributable":true}
