Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QuoteIdent ¶
QuoteIdent attempts to quote a postgresql identifier
Types ¶
type Config ¶
type Config struct {
SnakeCase bool
Sample int
ColumnNames []string
NotNull bool
ReadHeader bool
EnumLength int
EnumCount int
Types []Type
Exclude []string
TableName string
}
Config for csvgpg
type Intuitor ¶
type Intuitor struct {
Config *Config
ColumnNames []string
PossibleTypes []int
Enums []map[string]struct{}
ColumnTypes []string
Null []bool
EnumDDL string
TableDDL string
// contains filtered or unexported fields
}
Intuitor intuits the types of the input
Click to show internal directories.
Click to hide internal directories.