line

package
v1.0.47 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 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 Edit

type Edit struct {
	// contains filtered or unexported fields
}

func (*Edit) Append

func (c *Edit) Append(lineNum int, lines []string)

func (*Edit) Apply

func (c *Edit) Apply(lines []string) ([]string, error)

func (*Edit) Prepend

func (c *Edit) Prepend(lineNum int, lines []string)

func (*Edit) Replace

func (c *Edit) Replace(lineNum int, lines []string)

Jump to

Keyboard shortcuts

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