configuration

package
v0.0.0-...-53527f4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Update

func Update(cfg *Config) (bool, error)

Types

type Config

type Config struct {
	File string `json:"-"`

	Root          string   `json:"root"`
	Minify        bool     `json:"-"`
	Outputs       []Output `json:"outputs"`
	CreateMissing bool     `json:"-"`
	// contains filtered or unexported fields
}

func Load

func Load(file string) (*Config, error)

type Output

type Output struct {
	File  string   `json:"file"`
	Files []string `json:"files"`
}

Jump to

Keyboard shortcuts

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