Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotDDL = errors.New("not a ddl statement") ErrDDLNotFound = errors.New("ddl not found") )
Functions ¶
Types ¶
type MysqlScanner ¶
type MysqlScanner struct {
DbName string
Host string
Port int
User string
Password string
sync.Once
// contains filtered or unexported fields
}
func NewMysqlScanner ¶
func NewMysqlScanner(dbName, host, user, password string, port int) *MysqlScanner
type SqliteScanner ¶
func NewSqliteScanner ¶
func NewSqliteScanner(dbPath string) *SqliteScanner
Click to show internal directories.
Click to hide internal directories.