md

package
v1.43.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: MIT Imports: 15 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) (e error)

Output generate markdown files.

Types

type Md added in v1.9.0

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

Md struct

func New added in v1.29.2

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

New 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