setting

package
v1.36.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save added in v1.25.0

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 added in v1.25.0

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