Versions in this module Expand all Collapse all v0 v0.1.0 Jun 2, 2023 Changes in this version + const FuncTag + const Nullable + func OpenCK(db schema.ExecQuerier) (*ckDriver, error) + func ParseType(raw string) (schema.Type, error) + func TableName(typeName string) string + func TypeName(tableName string) string + type AtlasBase struct + Options ImportOptions + Types map[string]*gen.Type + func (ab *AtlasBase) BuildSchema(tables []*schema.Table) ([]*gen.Type, error) + func (ab *AtlasBase) SchemaInspect(ctx context.Context) ([]*gen.Type, error) + func (ab *AtlasBase) TableToGenType(table *schema.Table) (*gen.Type, error) + type Clickhouse struct + func NewClickhouse(opts ImportOptions) (*Clickhouse, error) + type GqlOrderField struct + func (g GqlOrderField) Name() string + type ImportOptions struct + CaseInt bool + DSN string + Dialect string + GenGraphql bool + GenProtoField bool + SchemaPath string + Tables []string + type MySQL struct + func NewMySQL(opts ImportOptions) (*MySQL, error)