diff

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package diff renders unified text diffs for proposed file changes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unified

func Unified(path string, before, after []byte) string

Unified returns a unified diff between before and after for the given path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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