-
Notifications
You must be signed in to change notification settings - Fork 79
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
✨ Add internal/db/storage/blob #388
✨ Add internal/db/storage/blob #388
Conversation
Best reviewed: commit by commit
Optimal code review plan
|
[WARNING] Changes in |
if err != nil { | ||
t.Fatalf("fetch writer failed: %s", err) | ||
} | ||
defer func() { |
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.
[golangci] reported by reviewdog 🐶
only one cuddle assignment allowed before defer statement (wsl)
if err != nil { | ||
t.Fatalf("fetch reader failed: %s", err) | ||
} | ||
defer func() { |
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.
[golangci] reported by reviewdog 🐶
only one cuddle assignment allowed before defer statement (wsl)
) | ||
|
||
func (bst BlobStorageType) String() string { | ||
switch bst { |
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.
[golangci] reported by reviewdog 🐶
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
Codecov Report
@@ Coverage Diff @@
## master #388 +/- ##
=========================================
+ Coverage 7.85% 7.91% +0.06%
=========================================
Files 353 356 +3
Lines 18266 18319 +53
=========================================
+ Hits 1434 1450 +16
- Misses 16625 16660 +35
- Partials 207 209 +2
Continue to review full report at Codecov.
|
[WARNING] Changes in |
@kpango Thanks for your suggestions. I've revised them. |
[WARNING] Changes in |
/rebase |
[REBASE] Rebase triggered by rinx for branch: feature/internal/add-db-storage-blob-s3-implementation |
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
bd77569
to
52564ae
Compare
[WARNING] Changes in |
} | ||
|
||
func AtoBST(bst string) BlobStorageType { | ||
switch strings.ToLower(bst) { |
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.
[golangci] reported by reviewdog 🐶
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
LGTM |
Signed-off-by: Rintaro Okamura rintaro.okamura@gmail.com
Description:
Related Issue:
Nothing.
How Has This Been Tested?:
Running blob_test.go
Environment:
Types of changes:
Changes to Core Features:
Checklist: