...

Package util

import "github.com/matrix-org/go-neb/util"
Overview
Index

Overview ▾

func Difference

func Difference(a, b []string) (onlyA, onlyB []string)

Difference returns the elements that are only in the first list and the elements that are only in the second. As a side-effect this sorts the input lists in-place.