regogo: github.com/itaysk/regogo Index | Files

package regogo

import "github.com/itaysk/regogo"

Index

Package Files

regogo.go result.go

type Regogo Uses

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

func New Uses

func New(query string) (*Regogo, error)

func (Regogo) Get Uses

func (rg Regogo) Get(input string) (Result, error)

type Result Uses

type Result struct {
    Value interface{}
}

func Get Uses

func Get(input string, query string) (Result, error)

func (Result) Bool Uses

func (r Result) Bool() bool

func (Result) Float64 Uses

func (r Result) Float64() float64

func (Result) Int64 Uses

func (r Result) Int64() int64

func (Result) JSON Uses

func (r Result) JSON() string

func (Result) MarshalText Uses

func (r Result) MarshalText() ([]byte, error)

func (Result) Number Uses

func (r Result) Number() json.Number

func (Result) String Uses

func (r Result) String() string

Package regogo imports 7 packages (graph). Updated 2020-04-24. Refresh now. Tools for package owners.