internal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(url string, showData bool, showAll bool, limit int)

Types

type Adapter

type Adapter interface {
	Init(url string)
	FetchTables() (tables []table)
	FetchTableData(table table, limit int) ([]string, [][]string)
}

type SqlAdapter

type SqlAdapter struct {
	DB *sqlx.DB
}

func (SqlAdapter) FetchTableData

func (a SqlAdapter) FetchTableData(table table, limit int) ([]string, [][]string)

func (SqlAdapter) FetchTables

func (a SqlAdapter) FetchTables() (tables []table)

func (*SqlAdapter) Init

func (a *SqlAdapter) Init(url string)

Jump to

Keyboard shortcuts

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