stringq

package
v0.3.0-beta Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: MIT Imports: 4 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Match

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

func (*Match) Empty

func (match *Match) Empty() *Match

func (*Match) Index

func (match *Match) Index(index int) *StringQuery

func (*Match) Len

func (match *Match) Len(length int) *Match

func (*Match) Matches

func (match *Match) Matches() []string

func (*Match) Name

func (match *Match) Name(name string) *StringQuery

func (*Match) NotEmpty

func (match *Match) NotEmpty() *Match

type StringQuery

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

func NewStringQuery

func NewStringQuery(t *testing.T, ctx *context.Context, data []byte) *StringQuery

func (*StringQuery) Contains

func (query *StringQuery) Contains(value string) *StringQuery

func (*StringQuery) Empty

func (query *StringQuery) Empty() *StringQuery

func (*StringQuery) Equal

func (query *StringQuery) Equal(value string) *StringQuery

func (*StringQuery) Len

func (query *StringQuery) Len(length int) *StringQuery

func (*StringQuery) Match

func (query *StringQuery) Match(expression string) *Match

func (*StringQuery) MatchAll

func (query *StringQuery) MatchAll(expression string) []Match

func (*StringQuery) NotEmpty

func (query *StringQuery) NotEmpty() *StringQuery

func (*StringQuery) NotEqual

func (query *StringQuery) NotEqual(value interface{}) *StringQuery

func (*StringQuery) PutContext

func (query *StringQuery) PutContext(contextKey string) *StringQuery

func (*StringQuery) String

func (query *StringQuery) String() string

Jump to

Keyboard shortcuts

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