misc

package
v0.0.0-...-77ad48c Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion

func GetVersion() string

Get the current version

func MakeDir

func MakeDir(dirName string)

Creates the directory if it doesn't already exist

Types

type Config

type Config struct {
	Databases []string `yaml:"databases"` //the names of each of your databases
}
var Conf Config

func GetConfig

func GetConfig(path string) (Config, error)

func (Config) SaveConfig

func (conf Config) SaveConfig(path string) error

func (Config) UpdateConfigDBs

func (conf Config) UpdateConfigDBs(s []string)

Jump to

Keyboard shortcuts

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