keywords

package
v0.55.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: Apache-2.0 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

type Env struct{}

func (Env) IsLineMatching

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

func (Env) ReplaceLine

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