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

config

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(m Manifest) error

func WriteManifest

func WriteManifest(path string, m *Manifest) error

Types

type AssistantEntry

type AssistantEntry struct {
	Source string   `yaml:"source"`
	Target string   `yaml:"target"`
	Ignore []string `yaml:"ignore,omitempty"`
}

type Manifest

type Manifest struct {
	Version    int                       `yaml:"version"`
	Assistants map[string]AssistantEntry `yaml:"assistants"`
}

func LoadManifest

func LoadManifest(path string) (*Manifest, error)

func (*Manifest) AssistantNames

func (m *Manifest) AssistantNames(filter []string) ([]string, error)

func (*Manifest) ResolveAssistant

func (m *Manifest) ResolveAssistant(name string) (AssistantEntry, error)

Jump to

Keyboard shortcuts

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