-
Notifications
You must be signed in to change notification settings - Fork 157
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
ref: Replace statik with Go embed #109
Conversation
811981a
to
426c87d
Compare
426c87d
to
bb77035
Compare
d0c077d
to
5c16cf2
Compare
Ok, I like getting rid of statik, looks simpler and certainly nicer to use Go-native feature now that it's available 🎉 🎉 , thanks @david-doit-intl! 2 minor things:
|
Just noticed there's already #101 by bot, perhaps we can move the whole Go 1.16 upgrade there. |
@stepanstipl yeah lets get 1.16 in first with the bot, then I can merge :). Will try to move rules back to top level, had some issues but will try again. |
29a3a90
to
877e3d7
Compare
d7f3833
to
18075e3
Compare
@stepanstipl updated to isolate rules to its own package pretty happy now. |
@@ -64,7 +65,12 @@ func TestEvalRules(t *testing.T) { | |||
manifests = append(manifests, manifest) | |||
} | |||
|
|||
judge, err := NewRegoJudge(&RegoOpts{}) | |||
loadedRules, err := rules.FetchRegoRules() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should make some mock rules in a later PR
fb1789b
to
b87270e
Compare
Signed-off-by: david-doit-intl <david@doit-intl.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice 👍 , I really like this last iteration 🚀
Closes #107
Signed-off-by: david-doit-intl david@doit-intl.com