config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2018 License: MIT Imports: 8 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 {
	Iterations   int
	Rules        []rules.Rule
	InitialColor color.Color
	OutputPath   string
}

Config encompasses all parameters of this application. Thus for one specific Config, the output will be deterministic.

func (*Config) Read

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

Read takes CLI `args` and potentially other parameters to initialize its Config struct.

Jump to

Keyboard shortcuts

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