keywords

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 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 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