constants

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigurationFile = ".adrrc.yml"
	DefaultUserName   = "Unknown"
)

Variables

View Source
var (
	Red          = gchalk.WithRed().Sprintf
	RedUnderline = gchalk.WithRed().WithUnderline().Sprintf
	Green        = gchalk.WithGreen().Sprintf
	Yellow       = gchalk.WithYellow().Sprintf
	Grey         = gchalk.WithGrey().Sprintf

	TableHeader = []string{"ID", "Title", "Status", "Author", "Creation Date", "Last Update Date", "Superseders", "Tags"}
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Directory       string `yaml:"directory"`
	TemplatesDir    string `yaml:"templates_dir,omitempty"`
	DefaultTemplate string `yaml:"default_template,omitempty"`
	DefaultAuthor   string `yaml:"default_author,omitempty"`
}

Jump to

Keyboard shortcuts

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