template

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager() *Manager

func (*Manager) FindSqlParser

func (m *Manager) FindSqlParser(sqlId string) (*Parser, bool)

func (*Manager) RegisterData

func (m *Manager) RegisterData(data []byte) error

func (*Manager) RegisterFile

func (m *Manager) RegisterFile(file string) error

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

func (*Parser) ParseMetadata

func (p *Parser) ParseMetadata(driverName string, params ...interface{}) (*sqlparser.Metadata, error)

only use first param

Jump to

Keyboard shortcuts

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