utility

package
v0.32.0-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtractedFields

type ExtractedFields struct {
	FilePath string
	Values   map[string]string
}

ExtractedFields represents fields extracted from a file

func ExtractFieldsFromPKGFile

func ExtractFieldsFromPKGFile(ctx context.Context, filePath string, pattern string, fields []Field) ([]ExtractedFields, error)

type Field

type Field struct {
	Key      string
	Required bool
}

Field defines a field to be extracted

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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