Skip to content

Conversation

@manuelarte
Copy link
Owner

No description provided.

}

a.Flags.BoolVar(&forbidMutex, ForbidMutexName, false, "Checks that sync.Mutex is not used as an embedded field.")
a.Flags.BoolVar(&forbidMutex, ForbidMutexName, false, "Checks that sync.Mutex and sync.RWMutex are not used as an embedded fields.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You shouldalso update the README

settings:
embeddedstructfieldcheck:
# Checks that sync.Mutex is not used as embedded field.
# Default: false

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

@manuelarte manuelarte merged commit 3cccb2e into main May 15, 2025
13 checks passed
@manuelarte manuelarte deleted the docs/update-readme branch May 15, 2025 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants