We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d04a036 commit 8efe088Copy full SHA for 8efe088
doc.go
@@ -585,9 +585,15 @@ Unique
585
586
For arrays & slices, unique will ensure that there are no duplicates.
587
For maps, unique will ensure that there are no duplicate values.
588
+For slices of struct, unique will ensure that there are no duplicate values
589
+in a field of the struct specified via a parameter.
590
591
+ // For arrays, slices, and maps:
592
Usage: unique
593
594
+ // For slices of struct:
595
+ Usage: unique=field
596
+
597
Alpha Only
598
599
This validates that a string value contains ASCII alpha characters only
0 commit comments