Help us shape the future of Go! Take the 2026 Go Developer Survey

util

package
v1.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeTagsDelta

func ComputeTagsDelta(
	a []*svcapitypes.Tag,
	b []*svcapitypes.Tag,
) (addedOrUpdated []*svcapitypes.Tag, removed []string)

computeTagsDelta compares two Tag arrays and return two different list containing the addedOrupdated and removed tags. The removed tags array only contains the tags Keys.

func EqualTags

func EqualTags(
	a []*svcapitypes.Tag,
	b []*svcapitypes.Tag,
) bool

equalTags returns true if two Tag arrays are equal regardless of the order of their elements.

Types

This section is empty.

Jump to

Keyboard shortcuts

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