![](https://habrastorage.org/getpro/habr/upload_files/417/014/be8/417014be8a0205d8ba4b7e1467bf8718.png)
,
, , , . , :
![](https://habrastorage.org/getpro/habr/upload_files/010/ba1/e15/010ba1e15f0327d142c7ca8c926237c1.png)
CSV- . , . , :
![](https://habrastorage.org/getpro/habr/upload_files/538/693/69c/53869369cfdfbd4897e859ff18c6cdd6.png)
:
![](https://habrastorage.org/getpro/habr/upload_files/7ea/7f8/114/7ea7f8114d72f8b24c4f3f1f7c2a226e.png)
, :
![](https://habrastorage.org/getpro/habr/upload_files/eb6/88a/649/eb688a6490edc9a0c981688a48584c46.png)
- .
, , :
name time/op alloc/op allocs/op
HashiCorpMultiErrors-4 6.01µs ± 1% 6.78kB ± 0% 77.0 ± 0%
UberMultiErrors-4 9.26µs ± 1% 10.3kB ± 0% 126 ± 0%
Uber . , . , , . :
name time/op alloc/op allocs/op
HashiCorpMultiErrors-4 6.01µs ± 1% 6.78kB ± 0% 77.0 ± 0%
UberMultiErrors-4 6.02µs ± 1% 7.06kB ± 0% 77.0 ± 0%
Go error
Error() string
.
,
, .
, ; :
![](https://habrastorage.org/getpro/habr/upload_files/f86/cfb/a81/f86cfba813b32f9094b9b6e1290b1d1e.png)
, . :
![](https://habrastorage.org/getpro/habr/upload_files/789/b0a/a88/789b0aa8820342b1a38c490b5916018b.png)
, , , :
go run . 0.30s user 0.19s system 14% cpu 3.274 total
, . , , , , , :
![](https://habrastorage.org/getpro/habr/upload_files/b2a/3f9/e91/b2a3f9e91353115ee9b429bdb8d9d760.png)
![](https://habrastorage.org/getpro/habr/upload_files/b52/45f/cff/b5245fcff9c43a0cef31804033e6f6fc.png)
, :
go run . 0.30s user 0.19s system 38% cpu 1.269 total
, . , , .
"Golang Developer. Professional".
« ». demo- :
- quoted-printable base64;
- JSON, XML YAML;
- ;
- : gob, msgpack protobuf.
. !