mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
df83b84aa1
This matches the convention of the stdlib and avoids ambiguity: when customErr{} and &customErr{} both implement error, client code needs to check for both. Memory use should remain the same, since storing a non-pointer type in an interface value still copies the value to the heap. |
||
---|---|---|
.. | ||
cache_test.go | ||
cache.go | ||
debug.go | ||
discover.go | ||
doc.go | ||
global_test.go | ||
global.go | ||
local_test.go | ||
local.go | ||
local.pb.go | ||
local.proto |