line

package
v1.0.51 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MIT Imports: 3 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, id string, lines []string)

func (*Edit) Apply

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

func (*Edit) Prepend

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

func (*Edit) Replace

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

Jump to

Keyboard shortcuts

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