diff --git a/exhaustive.go b/exhaustive.go index da2262a..8632fe1 100644 --- a/exhaustive.go +++ b/exhaustive.go @@ -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 */