config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfigDir         string
	PasumanConfigFile string
	PasumanDataFile   string
)

Functions

func GetDataFile

func GetDataFile(config Config, profile string) string

func Init

func Init(profile string, createDataFile bool)

Types

type Config

type Config struct {
	DataDirectory string `json:"data_directory"`
}

func GetConfig

func GetConfig() Config

Jump to

Keyboard shortcuts

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