settings

package
v0.0.0-...-a4a2758 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DEFAULT_REPO = "https://raw.githubusercontent.com/alexcoder04/LeoConsole-repo-main/main/index.json"

Variables

View Source
var Folders map[string]string = make(map[string]string)

Functions

func UpdateConfig

func UpdateConfig() error

Types

type Config

type Config struct {
	FirstRun     bool         `json:"FirstRun"`
	DebugMode    bool         `json:"DebugMode"`
	Repositories []Repository `json:"Repositories"`
}
var CurrentConfig Config = Config{}

type Repository

type Repository struct {
	Name string `json:"name"`
	Url  string `json:"url"`
}

Jump to

Keyboard shortcuts

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