diff

package
v1.15.15 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List[K comparable](l, r []K) ([]K, []K)

List returns two lists, the first one contains the items that were added from left to right, the second one contains the items that were removed from left to right.

func Stat added in v1.14.0

func Stat[K comparable](l, r []K) (int, int)

Stat returnes the number of items added to and removed from the first to the second list.

Types

This section is empty.

Jump to

Keyboard shortcuts

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