Skip to content

Commit

Permalink
add full import path example in package doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nishanths committed Nov 27, 2022
1 parent 9b7ddfe commit 746c972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exhaustive.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ To ignore specific constants in exhaustiveness checks, use the
-ignore-enum-members flag. Similarly, to ignore specific types, use the
-ignore-enum-types flag. For example:
exhaustive -ignore-enum-types '^reflect\.Kind$|^time\.Duration$'
exhaustive -ignore-enum-types '^time\.Duration$|^example.org/measure\.Unit$'
[language spec]: https://golang.org/ref/spec
*/
Expand Down

0 comments on commit 746c972

Please sign in to comment.