config

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package config contains data structures and methods for handling application configuration

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Instance

func Instance() *appConfig

Instance returns the singleton instance of the application configuration

func Load

func Load(ac *appConfig, fileName string) error

Load reads the specified file into the application configuration struct

func UserConfigFile

func UserConfigFile() string

UserConfigFile returns the resolved path and filename of the application configuration file

Types

This section is empty.

Jump to

Keyboard shortcuts

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