paramreducer

package
v0.0.0-...-1ea9000 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: BSD-3-Clause Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reducer

type Reducer struct {
	// contains filtered or unexported fields
}

func New

func New(q url.Values, full paramtools.ParamSet) (*Reducer, error)

New returns a new Reducer for the given query and full paramset.

func (*Reducer) Add

func (r *Reducer) Add(key string)

Add a structured key from the full corpus.

func (*Reducer) Reduce

func (r *Reducer) Reduce() paramtools.ParamSet

Reduce all the data to a final ParamSet that represents all the valid options left in full ParamSet.

type SubQuery

type SubQuery struct {
	// contains filtered or unexported fields
}

func (*SubQuery) Add

func (s *SubQuery) Add(key string)

Jump to

Keyboard shortcuts

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