settings

package
v0.0.61 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2026 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 FileSettings

type FileSettings struct {
	NoColor       *bool `yaml:"no_color"`
	UpgradeNotify *bool `yaml:"upgrade_notify"`
}

type Settings

type Settings struct {
	NoColor       bool
	UpgradeNotify bool
}

func Default

func Default() Settings

func Load

func Load() (Settings, error)

func LoadFile

func LoadFile(path string) (Settings, error)

func (Settings) Apply

func (s Settings) Apply()

Jump to

Keyboard shortcuts

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