gen

package
v0.0.0-...-f905bb6 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

parse.go 主要负责解析table

render.go 主要负责写文件

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSchemaTpls

func GetSchemaTpls(tableSchemas []model.TableSchema) (resp map[string]model.Table)

func GetTableSchemas

func GetTableSchemas(dsn string, db string, table string) (resp []model.TableSchema, err error)

func Render

func Render(schemaTpls map[string]model.Table)

render 渲染模板

Types

type ViaSSHDialer

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

func (*ViaSSHDialer) Dial

func (v *ViaSSHDialer) Dial(addr string) (net.Conn, error)

Jump to

Keyboard shortcuts

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