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

config

package
v1.7.7 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Set by build flag, most commonly in .github/workflows/main.yml

Functions

func Version

func Version() string

Types

type Config added in v1.6.0

type Config struct {
	MinimumVersion string `yaml:"minimum-version"`

	Libraries []Library `yaml:"libraries"`
	// contains filtered or unexported fields
}

func Load added in v1.6.0

func Load(specRoot string) (*Config, error)

func (*Config) IsLibraryRootPath added in v1.6.0

func (c *Config) IsLibraryRootPath(path asciidoc.Path) bool

func (*Config) Root added in v1.6.0

func (c *Config) Root() string

type Library added in v1.6.0

type Library struct {
	Name string `yaml:"name"`
	Root string `yaml:"root-document"`

	Documents map[string]LibraryDocument `yaml:"documents,omitempty"`
}

type LibraryDocument added in v1.6.0

type LibraryDocument struct {
	Domain string `yaml:"domain"`
}

Jump to

Keyboard shortcuts

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