config

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEmptyConfig

func CreateEmptyConfig()

func InitConfig

func InitConfig()

func UpdateConfig

func UpdateConfig(key string, value string)

func WriteConfig

func WriteConfig()

Types

type MyConfig

type MyConfig struct {
	Backend    string `config:"backend"`
	ComposeDir string `config:"compose_dir"`
	CurrentDir string `config:"current_dir"`
}

func ReadConfig

func ReadConfig() MyConfig

Jump to

Keyboard shortcuts

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