config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Views    []ViewConfig
	Defaults Defaults
}

func GetDefaultConfig

func GetDefaultConfig() Config

type Defaults

type Defaults struct {
	Preview PreviewConfig
	View    ViewType
}

type Keybinding

type Keybinding struct {
	Key     string
	Command string
}

type PreviewConfig

type PreviewConfig struct {
	Open  bool
	Width int
}

type ViewConfig

type ViewConfig struct {
	Title string
	Type  ViewType
}

type ViewType

type ViewType string
const (
	ExploreView ViewType = "explore"
	MyReposView ViewType = "my_repos"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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