mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-05 21:07:58 +00:00
21c074cc2c
refactor: replace empty slice literal with `var` An empty slice can be represented by `nil` or an empty slice literal. They are functionally equivalent — their `len` and `cap` are both zero — but the `nil` slice is the preferred style. For more information about empty slices, see [Declaring Empty Slices](https://github.com/golang/go/wiki/CodeReviewComments#declaring-empty-slices). Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
_external_test | ||
.gitignore | ||
debug.go | ||
empty_dir_tracker_test.go | ||
empty_dir_tracker.go | ||
external_test.go | ||
external.go | ||
simple_test.go | ||
simple.go | ||
staggered_test.go | ||
staggered.go | ||
trashcan_test.go | ||
trashcan.go | ||
util.go | ||
versioner.go |