G307
Deferring unsafe method "Close" on type "*os.File"
Go is a very powerful language that makes you write performant code while having a lot of verification. Still, developers can make issues. Thankfully, the Codiga Static Code Analysis engine checks your Go code and flags the most important issues.
Deferring unsafe method "Close" on type "*os.File"
Value refers to the result of a failed type assertion and is a zero value, not the value that was being type-asserted.
Error string should not be capitalized
Unused field.
Unnecessary assignment to the blank identifier
Profiling endpoint is automatically exposed on /debug/pprof
should omit type string from declaration of var
File traversal when extracting zip/tar archive
We use cookies to improve your site experience, including analytics cookies to understand how you use our product and design better experiences. Please read our Cookie Policy.