config

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const CLI_CONFIG_FILE_NAME = "cli"
View Source
const CLI_CONFIG_FILE_TYPE = "yaml"
View Source
const CLI_NAME = "firefly"
View Source
const RELEASE = "v0.0.6"
View Source
const REPO_OWNER = "fireflycore"
View Source
const REPO_TOKEN = ""

Variables

View Source
var IGNORE_DIRS = map[string]map[string]bool{
	"go": {
		".git":    true,
		".github": true,
	},
}
View Source
var IGNORE_FILES = map[string]map[string]bool{
	"go": {
		".gitignore":  true,
		"config.yaml": true,
		"go.sum":      true,
		"LICENSE":     true,
		"run.sh":      true,
		"README.md":   true,
	},
}
View Source
var LANGUAGE = []string{
	"Go",
}

Functions

This section is empty.

Types

type CoreEntity

type CoreEntity struct {
	SetupDir string

	LocalDir         string
	CacheDir         string
	CacheTemplateDir string

	Global               *GlobalPersistenceStorageConfigEntity
	GlobalConfigFileName string
	GlobalConfigFilePath string
	// contains filtered or unexported fields
}

func New

func New() (*CoreEntity, error)

func (*CoreEntity) UpdateGlobalConfig

func (core *CoreEntity) UpdateGlobalConfig() error

type GlobalPersistenceStorageConfigEntity

type GlobalPersistenceStorageConfigEntity struct {
	Version map[string]string `json:"version" yaml:"version" mapstructure:"version"`
}

Jump to

Keyboard shortcuts

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