Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save added in v1.3.0

func Save(cfg Config) error

Types

type Config

type Config struct {
	DarkTheme  string `json:"dark_theme"`
	LightTheme string `json:"light_theme"`
	Telemetry  *bool  `json:"telemetry,omitempty"`
	ClientID   string `json:"client_id,omitempty"`
}

func EnsureClientID added in v1.3.0

func EnsureClientID() Config

func Load

func Load() Config

func (Config) TelemetryEnabled added in v1.3.0

func (c Config) TelemetryEnabled() bool

Jump to

Keyboard shortcuts

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