csv

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSV

type CSV struct{}

CSV struct

func New

func New() *CSV

New return CSV

func (*CSV) OutputSchema

func (cc *CSV) OutputSchema(wr io.Writer, s *schema.Schema) error

OutputSchema output CSV

type CSVRow

type CSVRow struct {
	DBMS            string `csv:"dbms"`
	TableSchema     string `csv:"table_schema"`
	TableName       string `csv:"table_name"`
	ColumnName      string `csv:"column_name"`
	OrdinalPosition string `csv:"ordinal_position"`
	DataType        string `csv:"data_type"`
	CharMaxLength   string `csv:"character_maximum_length"`
	ConstraintType  string `csv:"constraint_type"`
	RefTableSchema  string `csv:"referenced_table_schema"`
	RefTableName    string `csv:"referenced_table_name"`
	RefColumnName   string `csv:"referenced_column_name"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL