Skip to content
Strider
Search
Ctrl
K
Cancel
gempir/strider on GitHub
Select theme
Dark
Light
Auto
Start here
Getting started
Configuration
Baselines
Suppress
Checks
Running checks
Formatter
warning
Style and maintainability
add-constant
note
banned-characters
error
bidirectional-control-character
error
blank-imports
warning
boolean-literal-comparison
warning
call-to-gc
warning
cognitive-complexity
warning
confusing-naming
error
confusing-results
warning
constant-logical-expr
warning
context-as-argument
warning
cyclomatic-complexity
warning
deep-exit
error
deferred-recover-call
error
discarded-deferred-result
error
dot-imports
warning
double-negation
error
duplicated-imports
error
early-return
warning
empty-conditional-block
error
enforce-switch-style
warning
error-last-result
warning
error-naming
warning
error-strings
warning
exported-declaration-comment
note
file-length-limit
note
filename-format
note
flag-parameter
note
function-length
warning
function-result-limit
warning
get-function-return-value
note
identical-branches
warning
identical-if-chain-branches
warning
identical-if-chain-conditions
warning
identical-switch-branches
warning
identical-switch-conditions
warning
import-alias-naming
warning
import-shadowing
warning
imports-blocklist
warning
increment-decrement
note
ineffective-pointer-copy
error
inefficient-map-lookup
error
insecure-url-scheme
warning
invalid-struct-tag
error
marshal-receiver
warning
max-control-nesting
warning
max-parameters
warning
max-public-structs
note
modifies-parameter
error
modifies-value-receiver
warning
modulo-one
error
nested-structs
note
no-defer-in-loop
warning
no-else-after-return
warning
no-init
note
no-naked-return
warning
no-package-var
warning
optimize-operands-order
warning
package-comments
note
package-directory-mismatch
error
package-naming
warning
prefer-fmt-errorf
warning
range-value-address
warning
receiver-naming
warning
redefines-builtin-id
warning
redundant-atomic-result-assignment
error
redundant-build-tag
warning
redundant-error-return-check
warning
redundant-final-return
warning
redundant-import-alias
warning
redundant-switch-break
warning
simplify-range
warning
single-case-switch
warning
spaced-compiler-directive
warning
spinning-select-default
warning
string-of-int
error
time-date
warning
time-naming
warning
unchecked-type-assertion
error
unexported-naming
warning
unexported-return
warning
unnecessary-format
note
unnecessary-if
warning
unreachable-code
warning
unused-parameter
warning
unused-receiver
warning
use-any
warning
use-errors-new
warning
use-fmt-print
warning
use-slices-sort
warning
var-declaration
note
var-naming
warning
waitgroup-by-value
error
zero-integer-division
error
Correctness and safety
address-nil-comparison
warning
append-to-sized-slice
warning
argument-overwritten-before-use
warning
benchmark-iteration-mutation
error
byte-string-write
warning
case-insensitive-string-comparison
warning
constant-negative-zero
warning
constructor-interface-return
warning
context-cancel-in-loop
warning
context-key-type
warning
context-stored-in-struct
warning
contradictory-interface-assertion
error
copy-lock-value
error
dangerous-directory-removal
error
decimal-file-mode
warning
defer-close-before-error-check
error
deferred-lock-after-lock
error
deferred-return-function-not-called
warning
deprecated-api-usage
warning
discarded-error-result
error
discarded-pure-result
warning
doc-comment-period
note
duplicate-trim-cutset
warning
duration-multiplied-by-duration
warning
dynamic-printf
warning
empty-critical-section
warning
error-type-naming
warning
excessive-blank-identifiers
warning
external-call-in-loop
warning
failed-assertion-shadow-read
warning
finalizer-captures-object
error
identical-binary-operands
warning
impossible-integer-comparison
warning
impossible-interface-nil-comparison
error
impossible-platform-comparison
warning
ineffective-bitwise-zero
warning
ineffective-value-receiver-assignment
warning
inefficient-sprintf
warning
infinite-recursion
error
interface-method-limit
warning
invalid-exec-command
warning
invalid-listen-address
error
invalid-printf-call
error
invalid-regexp
error
invalid-strconv-argument
error
invalid-template
error
invalid-time-layout
error
invalid-url
error
invalid-utf8
error
ip-byte-comparison
warning
leaky-time-tick
warning
misaligned-atomic-64
error
nan-comparison
error
negative-length-capacity-comparison
warning
never-nil-comparison
error
nil-context
error
nil-error-return
error
nil-map-assignment
error
nil-value-with-nil-error
warning
non-canonical-header
warning
non-pointer-sync-pool-value
warning
non-pointer-unmarshal
error
odd-paired-arguments
error
overlapping-encode-buffers
warning
oversized-fixed-width-shift
warning
overwritten-before-use
warning
partially-typed-constant-group
warning
pointless-integer-math
warning
possible-nil-dereference
error
random-bound-one
warning
range-value-capture
warning
redundant-conversion
warning
regexp-find-all-zero
warning
regexp-match-in-loop
warning
self-assignment
warning
separate-byte-string-map-key
warning
single-argument-append
warning
single-iteration-loop
warning
slice-preallocation
warning
slog-argument-shape
warning
sort-conversion-without-sort
warning
sort-non-slice
error
spinning-empty-loop
warning
standard-http-method-constant
warning
suspicious-sleep
warning
swapped-errors-is-arguments
error
swapped-seek-arguments
warning
task-comment
note
test-main-missing-exit
warning
test-parallelism
note
testing-fatal-in-goroutine
error
time-value-equality
warning
timer-reset-drain-race
error
top-level-declaration-order
warning
unbuffered-signal-channel
warning
unchanged-loop-condition
warning
unchecked-rows-error
error
unclosed-http-response-body
error
unclosed-sql-resource
error
unexported-serialization-fields
warning
unreachable-type-switch-case
warning
unsafe-formatted-url-host-port
warning
unsupported-binary-write
error
unsupported-marshal-type
error
untrappable-signal
warning
unused-append-result
error
url-query-copy-mutation
warning
waitgroup-add-inside-goroutine
error
waitgroup-go-forbidden-call
error
weak-cryptography
warning
writer-buffer-mutation
error
zero-replacement-limit
warning
Benchmarks
chi
Gin
gorilla/websocket
go-retryablehttp
segmentio/ksuid
golang/groupcache
allegro/bigcache
sourcegraph/conc
deckarep/golang-set
jinzhu/copier
kubernetes/kubernetes
Reference
CLI reference
gempir/strider on GitHub
Select theme
Dark
Light
Auto
invalid-url
Default severity:
error
Bad
Section titled “Bad”
url
.
Parse
(
"
:
"
)
Good
Section titled “Good”
url
.
Parse
(
"
https://golang.org
"
)