configs

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TemplatesSubPath templates default sub path
	TemplatesSubPath = ".appboot/templates/"
	// TemplatesSource templates default source
	TemplatesSource = "https://github.com/appboot/templates.git"
)

Variables

View Source
var EnvConfig *config

EnvConfig EnvConfig

Functions

func GetConfig

func GetConfig(key string) (string, error)

GetConfig get config with key

func GetTemplateRoot

func GetTemplateRoot() (string, error)

GetTemplateRoot get template root

func GetTemplateSource

func GetTemplateSource() string

GetTemplateSource get template source

func InitConfig

func InitConfig()

InitConfig reads in config file and ENV variables if set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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