settings

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Config) (settings.Store, error)

New registers settings/file: Load persistent settings from a YAML or JSON file.

Types

type Config

type Config struct {
	// Path is settings file, resolved through the workspace.
	Path string `json:"path"`
}

type Store

type Store struct {
	// contains filtered or unexported fields
}

func (*Store) Get

func (s *Store) Get(_ context.Context, key string) (settings.Value, error)

Jump to

Keyboard shortcuts

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