greatroar
df83b84aa1
all: Make all error implementations pointer types ( #6726 )
...
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.
2020-06-16 09:27:34 +02:00
..
2020-05-30 09:50:23 +02:00
2020-05-25 08:51:27 +02:00
2020-03-17 09:40:37 +01:00
2020-06-03 15:00:28 +02:00
2020-06-02 15:06:02 +01:00
2020-06-16 09:17:07 +02:00
2020-06-16 09:27:34 +02:00
2020-06-16 09:17:07 +02:00
2020-06-16 09:27:34 +02:00
2020-01-11 08:14:05 +01:00
2020-05-14 08:09:58 +02:00
2020-04-07 10:23:38 +02:00
2020-05-29 13:43:02 +02:00
2019-10-04 13:03:34 +02:00
2020-06-16 09:25:41 +02:00
2020-06-07 20:29:53 +02:00
2020-06-16 09:27:34 +02:00
2020-02-24 21:57:15 +01:00
2020-06-07 10:31:12 +02:00
2020-03-30 23:26:28 +02:00
2020-04-20 14:52:16 +02:00
2020-06-16 09:27:34 +02:00
2020-06-16 09:25:41 +02:00
2020-05-13 14:28:42 +02:00
2017-02-09 08:04:16 +01:00
2019-11-30 13:03:24 +01:00
2020-02-24 21:57:15 +01:00
2019-10-16 10:11:11 +02:00
2020-04-12 10:26:57 +02:00
2019-05-18 08:53:59 +02:00
2020-03-03 22:40:00 +01:00
2020-03-03 22:40:00 +01:00
2020-06-16 09:27:34 +02:00
2020-04-06 09:53:37 +02:00
2020-06-16 09:17:07 +02:00
2020-03-31 00:14:05 +02:00
2019-11-21 08:41:15 +01:00
2020-03-29 17:07:25 +02:00