Documentation ¶
Overview ¶
Package drivertype defines drivertype.Type, which is the type of a driver, e.g. "mysql", "postgres", "csv", etc. This is broken out into its own package to avoid circular dependencies.
Index ¶
Constants ¶
View Source
const ( // SQLite is for sqlite3. SQLite = Type("sqlite3") // Pg is for Postgres. Pg = Type("postgres") // MSSQL is for Microsoft SQL Server. MSSQL = Type("sqlserver") // MySQL is for MySQL and similar DBs such as MariaDB. MySQL = Type("mysql") // CSV is for Comma-Separated Values. CSV = Type("csv") // TSV is for Tab-Separated Values. TSV = Type("tsv") // JSON is for plain-old JSON. JSON = Type("json") // JSONA is for JSON Array. JSONA = Type("jsona") // JSONL is for JSON Lines, aka ndjson (newline-delimited). JSONL = Type("jsonl") // XLSX is for Microsoft Excel spreadsheets. XLSX = Type("xlsx") )
Driver types.
View Source
const None = Type("")
None is the zero value of Type.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.