goedit

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, BSD-3-Clause Imports: 2 Imported by: 4

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 New

func New(fset *token.FileSet, content string) *Edit

func (*Edit) Delete

func (c *Edit) Delete(start token.Pos, end token.Pos)

func (*Edit) Insert

func (c *Edit) Insert(start token.Pos, content string)

func (*Edit) Replace

func (c *Edit) Replace(start token.Pos, end token.Pos, content string)

func (*Edit) String

func (c *Edit) String() string

Jump to

Keyboard shortcuts

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