config

package
v0.3.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveConfig

func SaveConfig(path string, cfg Config) error

Types

type Config

type Config struct {
	Username       string `json:"username"`
	ServerURL      string `json:"server_url"`
	Theme          string `json:"theme"`
	TwentyFourHour bool   `json:"twenty_four_hour"`
}

func LoadConfig

func LoadConfig(path string) (Config, error)

Jump to

Keyboard shortcuts

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