setting

package
v3.4.9 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(sett Setting) error

Save saves the b file in the ~/.config/mdz/mdz.toml directory, creating the directory if necessary.

Types

type Setting

type Setting struct {
	Token string
	environment.Env
}

func Read

func Read() (*Setting, error)

Read loads the configuration TOML file and deserializes it to the struct Setting.

Jump to

Keyboard shortcuts

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