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

skill

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

type Loader struct {
	Roots []string
}

func (*Loader) Load

func (l *Loader) Load() ([]Skill, error)

type Skill

type Skill struct {
	Slug string
	Path string
	Body string
}

func Filter added in v0.3.0

func Filter(skills []Skill, names []string) (matched []Skill, missing []string)

Filter selects skills whose slug matches one of names, preserving the order of names. It returns the matched skills and the names that had no matching skill loaded.

Jump to

Keyboard shortcuts

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