Skip to content

Commit

Permalink
Prefix enum options with type name
Browse files Browse the repository at this point in the history
Co-authored-by: Ashley Stanton-Nurse <github@analogrelay.net>
  • Loading branch information
Pietrrrek and analogrelay authored Oct 21, 2024
1 parent 081a14a commit 30b6977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/data/azcosmos/partition_key_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
type PartitionKeyKind string

const (
Hash PartitionKeyKind = "Hash"
MultiHash PartitionKeyKind = "MultiHash"
PartitionKeyKindHash PartitionKeyKind = "Hash"
PartitionKeyKindMultiHash PartitionKeyKind = "MultiHash"
)

// PartitionKeyDefinition represents a partition key definition in the Azure Cosmos DB database service.
Expand Down

0 comments on commit 30b6977

Please sign in to comment.