config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultConfigPath = os.ExpandEnv("$HOME/.config/savvy/config.json")
)

Functions

func APIHost

func APIHost() string

Types

type Config

type Config struct {
	Token string
}

func LoadFromFile

func LoadFromFile() (*Config, error)

func (*Config) Save

func (c *Config) Save() error

Jump to

Keyboard shortcuts

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