config

package
v0.1.921903713 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureInitialised

func EnsureInitialised()

EnsureInitialised reads the config. Will quit if config is invalid

func GetAll

func GetAll() map[string]interface{}

func GetExperimentalFeaturesEnabled added in v0.1.858116614

func GetExperimentalFeaturesEnabled() bool

func GetLastUpdateCheck added in v0.1.115477710

func GetLastUpdateCheck() time.Time

func GetSnippetFolders added in v0.1.858116614

func GetSnippetFolders() []string

func GetTemplateFolders

func GetTemplateFolders() []string

func SaveConfig

func SaveConfig() error

func SetLastUpdateCheck added in v0.1.115477710

func SetLastUpdateCheck(t time.Time)

Types

This section is empty.

Jump to

Keyboard shortcuts

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