keywords

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arg

type Arg struct{}

func (Arg) IsLineMatching

func (a Arg) IsLineMatching(originalLine, matcher string) bool

func (Arg) ReplaceLine

func (a Arg) ReplaceLine(source, originalLine, matcher string) string

type Env added in v0.15.0

type Env struct{}

func (Env) IsLineMatching added in v0.15.0

func (a Env) IsLineMatching(originalLine, matcher string) bool

func (Env) ReplaceLine added in v0.15.0

func (a Env) ReplaceLine(source, originalLine, matcher string) string

type From

type From struct{}

func (From) IsLineMatching

func (f From) IsLineMatching(originalLine, matcher string) bool

func (From) ReplaceLine

func (f From) ReplaceLine(source, originalLine, matcher string) string

type Logic

type Logic interface {
	IsLineMatching(originalLine, matcher string) bool
	ReplaceLine(source, originalLine, matcher string) string
}

Jump to

Keyboard shortcuts

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