md

package
v1.57.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: MIT Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffSchemaAndDocs added in v1.49.0

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

DiffSchemaAndDocs show diff markdown files and database.

func DiffSchemas added in v1.49.0

func DiffSchemas(s, s2 *schema.Schema, c, c2 *config.Config) (string, error)

DiffSchemas show diff databases.

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