config

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name           string
	Debug          bool
	Version        string
	Commit         string
	BuildDate      string
	BuildSource    string
	OpenCommandEnv string
	CfgDir         string

	// Absolute path to a golangci-lint executable.
	Executable string
}

Config includes the base configuration fields required for golintui.

func New

func New(name, version, commit, date, buildSource, executable, openCommandEnv, cfgDir string, debuggingFlag bool) *Config

func (*Config) GetBuildDate

func (c *Config) GetBuildDate() string

func (*Config) GetCommit

func (c *Config) GetCommit() string

func (*Config) GetDebug

func (c *Config) GetDebug() bool

func (*Config) GetVersion

func (c *Config) GetVersion() string

Jump to

Keyboard shortcuts

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