setting

package
v1.27.0-beta.14 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 5 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
}

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