md

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: MIT Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Diff

func Diff(s *schema.Schema, c *config.Config) (string, error)

Diff database and markdown files.

func Output

func Output(s *schema.Schema, c *config.Config, force bool) error

Output generate markdown files.

Types

type Md added in v1.9.0

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

Md struct

func NewMd added in v1.9.0

func NewMd(c *config.Config, er bool) *Md

NewMd return Md

func (*Md) OutputSchema added in v1.9.0

func (m *Md) OutputSchema(wr io.Writer, s *schema.Schema) error

OutputSchema output .md format for all tables.

func (*Md) OutputTable added in v1.9.0

func (m *Md) OutputTable(wr io.Writer, t *schema.Table) error

OutputTable output md format for table.

Jump to

Keyboard shortcuts

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