config

package
v0.0.0-...-77593ae Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(target interface{}) error

Types

type Config

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

func New

func New(cfg interface{}) (*Config, error)

func (*Config) AddObserver

func (c *Config) AddObserver(f func(interface{})) error

func (*Config) GetPath

func (c *Config) GetPath() string

func (*Config) Save

func (c *Config) Save()

func (*Config) Update

func (c *Config) Update(data interface{})

Jump to

Keyboard shortcuts

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