searchreplace

package
v0.0.0-...-a392c4c Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixLine

func FixLine(line *[]byte, replacements []*Replacement) *[]byte

Types

type Replacement

type Replacement struct {
	From []byte
	To   []byte
}

Replacement has two fields (both byte slices): "From" & "To"

type SerializedReplaceResult

type SerializedReplaceResult struct {
	Pre               []byte
	SerializedPortion []byte
	Post              []byte
}

Jump to

Keyboard shortcuts

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