config

package
v0.0.0-...-6b41aee Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigTemplate string

Functions

func AddMenuItem

func AddMenuItem(g *app.Goful, section string, item string)

func CustomizeBookmark

func CustomizeBookmark(g *app.Goful)

func CustomizeCommand

func CustomizeCommand(g *app.Goful)

func CustomizeConfig

func CustomizeConfig(g *app.Goful, section string)

func DebugMenuItem

func DebugMenuItem(c interface{})

func GetConfigItem

func GetConfigItem(g *app.Goful, section string, item string) map[string]string

func InitConfig

func InitConfig()

func MakeDefaultConfig

func MakeDefaultConfig(text string)

func SetConfigItem

func SetConfigItem(g *app.Goful, section string, item string, value interface{})

Types

type MenuItem struct {
	// contains filtered or unexported fields
}

func MapConfigItemToMenuItem

func MapConfigItemToMenuItem(section, item string) MenuItem

Jump to

Keyboard shortcuts

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