config

package
v0.0.0-...-360d066 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package config persists the few settings gitboard remembers between runs.

Index

Constants

View Source
const DefaultCloneDir = "~/repos"

Variables

This section is empty.

Functions

func Path

func Path() string

Path is ~/.config/gitboard/config.yml (or the platform equivalent).

func Save

func Save(path string, c Config) error

Types

type Config

type Config struct {
	// CloneDir is the last Clone destination used; the next clone prompt starts there.
	CloneDir string `yaml:"clone_dir"`
}

func Load

func Load(path string) Config

Load never fails: a missing or broken file yields the defaults.

Jump to

Keyboard shortcuts

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