conf

package
v0.0.0-...-823f4d2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load() error

Load loads the given fp (file path) to the C global configuration variable.

Types

type Configuration

type Configuration struct {
	Service string `yaml:"service"`
	Token   string `yaml:"token"`
}

Configuration is the struct representing a configuration.

C is the exported global configuration variable

Jump to

Keyboard shortcuts

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