Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFile

func NewFile() (*configlib.ConfigFile[Settings], error)

NewFile creates the application configuration file with its defaults.

Types

type Mode

type Mode string
const ModeLocal Mode = "local"

type Settings

type Settings struct {
	Mode      Mode   `yaml:"mode,omitempty"`
	VaultPath string `yaml:"vault,omitempty"`
}

Settings contains the Overmind application settings.

func (Settings) Validate

func (settings Settings) Validate() error

Validate checks that the configuration is usable.

Jump to

Keyboard shortcuts

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