feat(): MyPostRequest and test functions #1
8 new problems found by Qodana for Go
Qodana for Go
8 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unhandled error |
🔶 Warning | 4 |
Bool condition |
🔶 Warning | 2 |
Locks mistakenly passed by value |
🔶 Warning | 2 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report
Contact Qodana team
Contact us at [email protected]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check warning on line 34 in user/user.go
github-actions / Qodana for Go
Bool condition
Condition `runtime.GOOS == "windows"` is always `false`
Check warning on line 22 in internal/upgrade/upgrade.go
github-actions / Qodana for Go
Bool condition
Condition `runtime.GOOS == "windows"` is always `false`
Check warning on line 75 in user/user.go
github-actions / Qodana for Go
Unhandled error
Unhandled error
Check warning on line 92 in user/user.go
github-actions / Qodana for Go
Unhandled error
Unhandled error
Check warning on line 350 in live/live.go
github-actions / Qodana for Go
Unhandled error
Unhandled error
Check warning on line 138 in slide/slide.go
github-actions / Qodana for Go
Unhandled error
Unhandled error
Check warning on line 22 in video/videoBatch.go
github-actions / Qodana for Go
Locks mistakenly passed by value
Range variable `video` copies the lock: type `Video` contains `sync.WaitGroup` contains `interface{}` which is `sync.Locker`
Check warning on line 48 in video/videoBatch.go
github-actions / Qodana for Go
Locks mistakenly passed by value
Call of `append` copies the lock value: type `Video` contains `sync.WaitGroup` contains `interface{}` which is `sync.Locker`