config

package
v0.0.0-...-6712ec0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package config contains the configuration structure along the the functions for resolving the configuration to use when creating a data dictionary

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	CommentsFormat string
	ConfigFile     string
	CSSFiles       string
	DbComment      string
	DbName         string
	DSN            string
	DbEngine       string
	ExcludeSchemas string
	File           string
	GraphvizCmd    string
	HideSQL        bool
	Host           string
	ImgFiles       string
	IncludeSchemas string
	JSFiles        string
	Minify         bool
	NoGraphviz     bool
	OutputDir      string
	Port           string
	SSLMode        string
	Username       string
	UserPass       string
	Verbose        bool
}

Config is the structure for the configuration

func LoadConfig

func LoadConfig() (e Config, err error)

LoadConfig loads a configuration by using a configuration file (if found/specifed) combined with environmental values and run-time arguments to the application.

Jump to

Keyboard shortcuts

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