config

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteToken

func DeleteToken() error

func InitConfig

func InitConfig() error

func LoadToken

func LoadToken() (string, error)

func Save

func Save(cfg *Config) error

func SaveToken

func SaveToken(token string) error

Types

type Config

type Config struct {
	DefaultProject      string `mapstructure:"default_project"`
	DefaultProjectColor string `mapstructure:"default_project_color"`
}

func Load

func Load() (*Config, error)

Jump to

Keyboard shortcuts

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