config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Bookmarks map[string]string
}

Config - config file bookmarks.

map[alias]fullPath

func Parse

func Parse(configStr string) (Config, error)

Parse - Parse config string. Config string is of the form:

[bookmarks]
alias = "fullPath"

func ParseFile

func ParseFile(filename string) (Config, error)

ParseFile - Parse config file. Config file is of the form:

[bookmarks]
alias = "fullPath"

Jump to

Keyboard shortcuts

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