Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ruleguard allows rules to be in any package #421

Open
tmzane opened this issue Oct 11, 2022 · 0 comments
Open

ruleguard allows rules to be in any package #421

tmzane opened this issue Oct 11, 2022 · 0 comments

Comments

@tmzane
Copy link
Contributor

tmzane commented Oct 11, 2022

I've noticed this restriction in the ruleguard docs:

Ruleguard rules file must start with package gorules; it can't be other package

However, my local copy works just fine with rules being in any package, with and without build tags:

// rules.go
package not_gorules // works just fine

Is it a bug or outdated docs?

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

No branches or pull requests

1 participant