Probable bugs
- 'FailNow' in a non-test goroutine
.
- 'Unmarshal' is called with the incorrect argument
.
- 'context.CancelFunc' is not called
.
- Defer/go statement calls 'recover' or 'panic' directly
.
- Direct comparison of errors
.
- Division by zero
.
- Exceeded shift expression
.
- Imported package name as a name identifier
.
- Impossible interface type assertion
.
- Incorrect 'strings.Replace' count argument
.
- Incorrect usage of 'fmt.Printf' and 'fmt.Println' functions
.
- Incorrect usage of the 'errors.As' function
.
- Incorrect usage of the 'sync/atomic' package
.
- Integer to string type conversion
.
- Invalid conversions of 'uintptr' to 'unsafe.Pointer'
.
- Irregular usage of 'iota'
.
- Leading whitespace in directive comment
.
- Locks mistakenly passed by value
.
- Loop variables captured by the func literal
.
- Malformed build tag
.
- Malformed struct tag
.
- Missing 'case' statements for 'iota' consts in 'switch'
.
- Mixed value and pointer receivers
.
- Nilness analyzer
.
- Non-standard signature for well-known function names
.
- Reserved word used as name
.
- Shadowing variable
.
- Type assertion on errors fails on wrapped errors
.
- Unhandled error
.
- Unused function or method call result
.
Last modified: 01 August 2024