config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BloxConfig

type BloxConfig struct {
	Base             string `json:"base"`
	Source           string `json:"source"`
	Destination      string `json:"destination"`
	Templates        string `json:"templates"`
	Static           string `json:"static"`
	DefaultExtension string `json:"default_extension"`
}

BloxConfig stores metadata about a content repository

func Load

func Load() (*BloxConfig, error)

Load reads the BloxConfig from the blox.yaml file

func (*BloxConfig) Write

func (b *BloxConfig) Write(w io.Writer) error

Write saves the BloxConfig as YAML to the specified io.Writer

Jump to

Keyboard shortcuts

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