Versions in this module Expand all Collapse all v0 v0.0.4 Feb 3, 2020 v0.0.3 Feb 3, 2020 Changes in this version + type Argument struct + DataType string + HasDefault bool + Name string + type Catalog struct + Schemas map[string]Schema + func NewCatalog() Catalog + func (c Catalog) LookupFunctionN(fqn FQN, argn int) (Function, error) + func (c Catalog) LookupFunctions(fqn FQN) ([]Function, error) + type Column struct + Comment string + DataType string + IsArray bool + Name string + NotNull bool + Scope string + Table FQN + type Enum struct + Comment string + Name string + Vals []string + type Error struct + Code string + Hint string + Location int + Message string + func ErrorColumnAlreadyExists(rel, col string) Error + func ErrorColumnDoesNotExist(rel, col string) Error + func ErrorRelationAlreadyExists(rel string) Error + func ErrorRelationDoesNotExist(tbl string) Error + func ErrorSchemaAlreadyExists(sch string) Error + func ErrorSchemaDoesNotExist(sch string) Error + func ErrorTypeAlreadyExists(typ string) Error + func ErrorTypeDoesNotExist(typ string) Error + func (e Error) Error() string + type FQN struct + Catalog string + Rel string + Schema string + func (f FQN) String() string + type Function struct + ArgN int + Arguments []Argument + Comment string + Desc string + Name string + ReturnType string + type Schema struct + Comment string + Enums map[string]Enum + Funcs map[string][]Function + Name string + Tables map[string]Table + func NewSchema() Schema + type Table struct + Columns []Column + Comment string + ID FQN + Name string