checker

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contains

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

func NewContains

func NewContains(contains string, params *param.Check) *Contains

func (*Contains) Check

func (c *Contains) Check(line string) (checked bool, err error)

type Equal

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

func NewEqual

func NewEqual(equal string, params *param.Check) *Equal

func (*Equal) Check

func (e *Equal) Check(line string) (checked bool, err error)

type Filepath

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

func NewFilepath

func NewFilepath(pattern string, params *param.Check) *Filepath

func (*Filepath) Check

func (f *Filepath) Check(line string) (checked bool, err error)

type Regexp

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

func NewRegexp

func NewRegexp(regexp string, params *param.Check) *Regexp

func (*Regexp) Check

func (r *Regexp) Check(line string) (checked bool, err error)

Jump to

Keyboard shortcuts

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