common

package
v0.0.0-...-8ffb5d3 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Common definitions and utilties for commands and the site.

Index

Constants

View Source
const (
	ConfigDir = "config"
	LayoutDir = "layout"
	PageDir   = "page"
	StaticDir = "static"
)

Variables

View Source
var Verbose bool

Functions

func DecodeConfigFile

func DecodeConfigFile(fpath string, v interface{}) error

Types

type Command

type Command struct {
	Name    string
	FlagSet *flag.FlagSet
	Usage   string
	Run     func()
	Help    string
}

Directories

Path Synopsis
Package action parses action from text.
Package action parses action from text.

Jump to

Keyboard shortcuts

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