Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Diff

func Diff(a, b interface{}) string

    Diff returns a diff string indiciating edits with ANSI color encodings (red for deletions, green for additions).

    Disables coloring if stdout of the current process is not connected to a terminal.

    Types

    This section is empty.

    Source Files