You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/internal/collections/unique_key_test.go

18 lines
461 B

// Copyright IBM Corp. 2014, 2026
// SPDX-License-Identifier: BUSL-1.1
package collections
type testingKey string
// testingKey is its own UniqueKey, because it's already a comparable type
var _ UniqueKey[testingKey] = testingKey("")
var _ UniqueKeyer[testingKey] = testingKey("")
func (k testingKey) IsUniqueKey(testingKey) {}
// UniqueKey implements UniqueKeyer.
func (k testingKey) UniqueKey() UniqueKey[testingKey] {
return UniqueKey[testingKey](k)
}