config

package
v0.0.0-...-920ac04 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	Axis          string
	AxisTitle     string `json:",omitempty"`
	AxisSecondary bool   `json:",omitempty"`
}

type Config

type Config struct {
	XColumn    Column
	YColumns   []Column
	ReduceRows int `json:",omitempty"`
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(cdir string) *Config

func (Config) GetCurretIndex

func (c Config) GetCurretIndex() int

func (Config) GetNameList

func (c Config) GetNameList() []string

func (*Config) Load

func (c *Config) Load() error

func (*Config) ReadFile

func (c *Config) ReadFile(p string) error

func (*Config) SetCurrent

func (c *Config) SetCurrent(name string) error

func (Config) Text

func (c Config) Text() string

func (Config) WriteFile

func (c Config) WriteFile(p string) error

Jump to

Keyboard shortcuts

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