presets

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Presets embed.FS

Functions

func ResolveMatchString

func ResolveMatchString(matchString string, matchStringPresets map[string]*MatchStringPreset) (string, error)

Resolves a given match string with a preset (if any).

func ResolveVersioning

func ResolveVersioning(versioning string, versioningPresets map[string]string) (string, error)

Resolves a given versioning with a preset (if any).

Types

type MatchStringPreset

type MatchStringPreset struct {
	MatchString       string
	ParameterDefaults []string
}

Jump to

Keyboard shortcuts

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