validation

package
v1.64.4 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 0 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShouldEnforceImmutability

func ShouldEnforceImmutability(new, old []string) bool

ShouldEnforceImmutability compares the given slices and returns if a immutability should be enforced. It mainly checks if the order of the same elements in `new` and `old` is the same, i.e. only an addition of elements to `new` is allowed.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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