conf

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProjectConf

func GetProjectConf() map[string][]string

func GetUserConf

func GetUserConf() string

func InitConf

func InitConf(filename string) error

Types

type Config

type Config struct {
	User    string              `json:"user"`
	Project map[string][]string `json:"project"`
	Output  OutputConf          `json:"output"`
}

type OutputConf

type OutputConf struct {
	Title  string   `json:"title"`
	Dir    string   `json:"dir"`
	Filter []string `json:"filter"`
}

func GetOutputConf

func GetOutputConf() OutputConf

Jump to

Keyboard shortcuts

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