diff

package
v0.0.0-...-528a4c1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(stdout io.Writer, args []string) error

* Main implements very naive diff algorithm * we should use other implementation such as diffmatchpatch * https://github.com/sergi/go-diff

Types

type Hunk

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

type Option

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

func NewFlagSet

func NewFlagSet() (*flag.FlagSet, *Option)

Jump to

Keyboard shortcuts

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