unquote

package
v0.107.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	helper.TransformerConfig `mapstructure:",squash"`
	Field                    entry.Field `mapstructure:"field"`
}

Config is the configuration of an unquote operator.

func NewConfig

func NewConfig() *Config

NewConfig creates a new unquote config with default values

func NewConfigWithID

func NewConfigWithID(operatorID string) *Config

NewConfigWithID creates a new unquote config with default values

func (Config) Build

Build will build an unquote operator.

type Transformer

type Transformer struct {
	helper.TransformerOperator
	// contains filtered or unexported fields
}

Transformer is an operator that unquotes a string.

func (*Transformer) Process

func (t *Transformer) Process(ctx context.Context, entry *entry.Entry) error

Process will unquote a string

Jump to

Keyboard shortcuts

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