mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 10:28:49 -07: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. |
||
---|---|---|
.. | ||
client.go | ||
debug.go | ||
dynamic.go | ||
empty_test.go | ||
methods.go | ||
static.go |