summaryrefslogtreecommitdiff
path: root/internal/storage/sql_provider_queries.go
diff options
context:
space:
mode:
authorEng Zer Jun <engzerjun@gmail.com>2023-08-19 19:13:26 +0800
committerGitHub <noreply@github.com>2023-08-19 21:13:26 +1000
commitdb1efdb5bf6e93ee01f3f45515489b6170fd0098 (patch)
tree95ddd1be12becd145649e3cf783392daaab6dbf4 /internal/storage/sql_provider_queries.go
parentcdbe4710c5a5988a5a32c1326bc68d3870d70905 (diff)
refactor(validator): remove redundant nil check (#5876)
From the Go docs: "For a nil slice, the number of iterations is 0." [1] Therefore, an additional nil check for before the loop is unnecessary. [1]: https://go.dev/ref/spec#For_range Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
Diffstat (limited to 'internal/storage/sql_provider_queries.go')
0 files changed, 0 insertions, 0 deletions