config

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: MIT 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 {
	FormatImports *bool
	ShowVersion   *bool
	Types         *Types
	Measures      *Measures
	FilePath      *string
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(name string) *Config

func (*Config) Parse

func (c *Config) Parse(args []string) error

type Measures

type Measures []string

func (*Measures) Set

func (i *Measures) Set(v string) error

func (*Measures) String

func (m *Measures) String() string

type Types

type Types []string

func (*Types) Set

func (t *Types) Set(v string) error

func (*Types) String

func (t *Types) String() string

Jump to

Keyboard shortcuts

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