file

package
v0.0.0-...-60f4931 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Modify

func Modify(path string, modFn Modifier) error

Types

type Modifier

type Modifier func(string) (string, error)

func DeleteLine

func DeleteLine(linesToDelete ...int) Modifier

func Replace

func Replace(currStr, newStr string) Modifier

Jump to

Keyboard shortcuts

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