md

package
v1.77.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 18 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) *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.

func (*Md) OutputViewpoint added in v1.66.0

func (m *Md) OutputViewpoint(wr io.Writer, i int, v *schema.Viewpoint) error

OutputViewpoint output md format for viewpoint.

Jump to

Keyboard shortcuts

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