tbls: github.com/k1LoW/tbls/output/md Index | Files

package md

import "github.com/k1LoW/tbls/output/md"

Index

Package Files

md.go

func Diff Uses

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

Diff database and markdown files.

func Output Uses

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

Output generate markdown files.

type Md Uses

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

Md struct

func NewMd Uses

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

NewMd return Md

func (*Md) OutputSchema Uses

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

OutputSchema output .md format for all tables.

func (*Md) OutputTable Uses

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

OutputTable output md format for table.

Package md imports 14 packages (graph) and is imported by 1 packages. Updated 2019-09-18. Refresh now. Tools for package owners.