settings

package
v1.0.0-beta.8 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultFile     = ".picasso.yaml"
	DefaultFileMode = 0755
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Opt

type Opt func(*Opts)

type Opts

type Opts struct {
	File     string
	FileMode os.FileMode
}

type Settings

type Settings interface {
	Read(in interface{}) error
	Write(out interface{}) error
}

func New

func New(opts ...Opt) Settings

Jump to

Keyboard shortcuts

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