settings

package
v0.0.0-...-0585133 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Workspace string            `yaml:"workspace"` // The project workspace
	OS        string            `yaml:"os"`        // Operating system information
	Tokens    map[string]string `yaml:"tokens"`    // Access tokens for various services
	Database  string            `yaml:"database"`  // The local database
}

Config is a struct of configurable options

func LoadConfig

func LoadConfig() (Config, error)

LoadConfig loads the configuration from the specified YAML file

Jump to

Keyboard shortcuts

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