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

settings

package
v0.0.62 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: MIT Imports: 6 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"`
	Theme         *string `yaml:"theme"`
	UpgradeNotify *bool   `yaml:"upgrade_notify"`
}

type Settings

type Settings struct {
	NoColor       bool
	Theme         string
	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