package
0.0.5
Repository: https://github.com/jsautret/genapid.git
Documentation: pkg.go.dev

# README

header

The header predicate checks the value of a predicate and/or gets it value

Options

OptionRequiredDescription
nameyesName of the header
valueValue to match

Results

FieldTypeDescription
resultbooleantrue if value is not set, or true if value matches header
valuestringValue of header

# Functions

New returns a new Predicate.

# Variables

Name of the predicate.

# Structs

Predicate is a genapid.Predicate interface that describes the predicate.