configs

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 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 Config

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

func (*Config) Exists

func (cfg *Config) Exists(key string) bool

func (*Config) Get

func (cfg *Config) Get(key string) (any, bool)

func (*Config) Init

func (config *Config) Init(defaultData map[string]any, actualVersion uint)

func (*Config) Save

func (config *Config) Save() error

func (*Config) Set

func (cfg *Config) Set(key string, val any)

Jump to

Keyboard shortcuts

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