file

package
v0.0.0-...-e537141 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupResolver

type GroupResolver interface {
	ResolveGroup(GroupSetup) (map[string][]string, error)
}

type GroupSetup

type GroupSetup struct {
	Patterns  path.PatternMap `json:"patterns" toml:"patterns" mapstructure:"patterns"`
	Templates Templates       `json:"templates" toml:"templates" mapstructure:"templates"`
	Dir       string          `json:"dir" toml:"dir" mapstructure:"dir"`
	Names     []string        `json:"names" toml:"names" mapstructure:"names"`
}

type GroupSetups

type GroupSetups map[string]GroupSetup

type MultiGroupResolver

type MultiGroupResolver interface {
	ResolveGroups(GroupSetups, Out) error
}

type Out

type Out = mapping.Setter[string, []string]

type Templates

type Templates map[string]string

Jump to

Keyboard shortcuts

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