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) (e error)

Output generate markdown files.

type Md Uses

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

Md struct

func New Uses

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

New 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 15 packages (graph) and is imported by 1 packages. Updated 2020-06-23. Refresh now. Tools for package owners.