Eng Zer Jun dc4acc0730
refactor(query-service): remove redundant nil check (#3614)
From the Go specification [1]:

  "1. For a nil slice, the number of iterations is 0."
  "3. If the map is nil, the number of iterations is 0."

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>
2023-09-24 14:42:17 +05:30
..
2023-09-17 10:40:45 +05:30
2022-10-06 20:13:30 +05:30
2023-09-17 10:40:45 +05:30
2023-09-17 10:40:45 +05:30