-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
chore: reorder imports in a consistent way #2378
Conversation
✅ Deploy Preview for go-feature-flag-doc-preview canceled.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2378 +/- ##
=======================================
Coverage 86.10% 86.10%
=======================================
Files 102 102
Lines 3778 3778
=======================================
Hits 3253 3253
Misses 400 400
Partials 125 125 ☔ View full report in Codecov by Sentry. |
38810f6
to
411399e
Compare
{ | ||
Kind: "http", | ||
URL: "https://raw.githubusercontent.com/thomaspoignant/go-feature-flag/main/examples/retriever_file/flags.goff.yaml", | ||
HTTPHeaders: map[string][]string{ | ||
"authorization": []string{ | ||
"authorization": { | ||
"test", | ||
}, | ||
"token": []string{"token"}, | ||
"token": {"token"}, | ||
}, | ||
}, | ||
config.RetrieverConf{ | ||
{ | ||
Kind: "file", | ||
Path: "examples/retriever_file/flags.goff.yaml", | ||
HTTPHeaders: map[string][]string{ | ||
"token": []string{ | ||
"token": { | ||
"11213123", | ||
}, | ||
"authorization": []string{ | ||
"authorization": { | ||
"test1", | ||
}, | ||
}, | ||
}, | ||
config.RetrieverConf{ | ||
{ | ||
HTTPHeaders: map[string][]string{ | ||
|
||
"authorization": []string{ | ||
"authorization": { | ||
"test1", | ||
}, | ||
"x-goff-custom": []string{ | ||
"x-goff-custom": { |
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.
this change is because of gofmt
d9038ac
to
1f06385
Compare
Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
1f06385
to
b8c804b
Compare
Quality Gate passedIssues Measures |
Description
The project had no safe guards in how the order of imports.
In this PR:
gofmt
andgci
in the linter.pre-commit
to be sure that we have the right order all the time.Checklist