types

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoFiltersOnV

func DoFiltersOnV(v interface{}, filters ...Filter) (interface{}, error)

func Float64AlmostEquals

func Float64AlmostEquals(a, b float64) bool

func ToString

func ToString(value interface{}) string

Types

type Filter

type Filter interface {
	DoFilter(v interface{}, chain *FilterChain) error
}

type FilterChain

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

func (*FilterChain) DoFilter

func (c *FilterChain) DoFilter(v interface{}) error

Jump to

Keyboard shortcuts

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