matcher

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: AGPL-3.0 Imports: 1 Imported by: 2

Documentation

Overview

Package matcher matches fields.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Match

func Match(gen *models.Generator) error

Match matches the fields of a parsed generator.

func RelatedFields

func RelatedFields(fields, related []*models.Field, cyclic map[*models.Field]bool) []*models.Field

RelatedFields returns solely related fields in a list of fields.

func RemoveUnpointedFields added in v0.3.0

func RemoveUnpointedFields(gen *models.Generator)

RemoveUnpointedFields removes unpointed fields from a Generator.

Types

This section is empty.

Jump to

Keyboard shortcuts

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