replace

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BracketsReplacement

type BracketsReplacement struct {
	Opening Replacement
	Closing Replacement
}

func (BracketsReplacement) Replace

func (br BracketsReplacement) Replace(src string) string

type BracketsReplacements

type BracketsReplacements []BracketsReplacement

func (BracketsReplacements) Replace

func (brs BracketsReplacements) Replace(src string) string

type Replacement

type Replacement struct {
	Replacee string
	Replacer string
}

func (Replacement) Replace

func (r Replacement) Replace(src string) string

type Replacements

type Replacements []Replacement

func (Replacements) Replace

func (rs Replacements) Replace(src string) string

Jump to

Keyboard shortcuts

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