config

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ShowAllConstraintsKey          = "showAllConstraints"
	UseAllTablesKey                = "useAllTables"
	SelectedTablesKey              = "selectedTables"
	SchemaKey                      = "schema"
	ConnectionStringKey            = "connectionString"
	ConnectionStringSuggestionsKey = "connectionStringSuggestions"
	OutputFileNameKey              = "outputFileName"
	EncloseWithMermaidBackticksKey = "encloseWithMermaidBackticks"
	DebugKey                       = "debug"
	OmitConstraintLabelsKey        = "omitConstraintLabels"
	OmitAttributeKeysKey           = "omitAttributeKeys"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MermerdConfig

type MermerdConfig interface {
	ShowAllConstraints() bool
	UseAllTables() bool
	Schema() string
	ConnectionString() string
	OutputFileName() string
	ConnectionStringSuggestions() []string
	SelectedTables() []string
	EncloseWithMermaidBackticks() bool
	Debug() bool
	OmitConstraintLabels() bool
	OmitAttributeKeys() bool
}

func NewConfig

func NewConfig() MermerdConfig

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳