Brad Fitzpatrick
01185e436f
types/result, util/lineiter: add package for a result type, use it
...
This adds a new generic result type (motivated by golang/go#70084) to
try it out, and uses it in the new lineutil package (replacing the old
lineread package), changing that package to return iterators:
sometimes over []byte (when the input is all in memory), but sometimes
iterators over results of []byte, if errors might happen at runtime.
Updates #12912
Updates golang/go#70084
Change-Id: Iacdc1070e661b5fb163907b1e8b07ac7d51d3f83
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-11-05 10:27:52 -08:00
..
2024-02-27 23:03:49 -05:00
2023-01-27 15:36:29 -08:00
2024-10-14 11:34:31 +02:00
2024-06-05 15:24:04 -07:00
2024-03-05 16:57:04 +00:00
2024-10-21 16:29:16 -05:00
2024-04-16 15:32:38 -07:00
2024-02-08 17:34:22 -08:00
2024-06-19 12:25:53 -07:00
2023-03-04 12:24:55 -08:00
2024-04-16 15:32:38 -07:00
2024-01-18 12:08:13 -08:00
2024-04-16 15:32:38 -07:00
2024-04-16 15:32:38 -07:00
2023-06-23 12:50:45 -07:00
2023-11-01 19:23:16 -07:00
2024-04-16 15:32:38 -07:00
2023-10-13 15:38:22 -07:00
2023-11-22 12:09:59 -05:00
2024-04-16 15:32:38 -07:00
2024-07-10 09:57:00 -07:00
2024-11-05 10:27:52 -08:00
2023-01-27 15:36:29 -08:00
2024-10-03 20:15:00 +01:00
2024-05-17 20:01:40 -04:00
2023-04-17 18:38:24 -04:00
2024-04-16 15:32:38 -07:00
2023-01-27 15:36:29 -08:00
2024-04-16 15:32:38 -07:00
2024-07-10 09:57:00 -07:00
2024-07-10 09:57:00 -07:00
2024-07-29 19:39:55 -07:00
2024-11-05 10:27:52 -08:00
2024-05-24 14:11:19 -04:00
2023-01-27 15:36:29 -08:00
2024-03-27 08:53:52 -05:00
2023-01-27 15:36:29 -08:00
2024-04-16 15:32:38 -07:00
2023-01-27 15:36:29 -08:00
2024-06-05 15:57:27 -07:00
2024-06-05 15:24:04 -07:00
2024-04-16 15:32:38 -07:00
2024-05-05 21:14:28 -07:00
2024-06-10 18:38:27 -04:00
2024-09-11 18:36:00 -07:00
2024-10-31 15:46:40 -06:00
2023-04-03 17:14:14 -04:00
2023-01-27 15:36:29 -08:00
2023-08-08 19:51:44 -06:00
2024-04-16 15:32:38 -07:00
2024-04-04 14:38:16 -07:00
2024-04-16 15:32:38 -07:00
2024-10-31 08:33:24 +00:00
2024-10-09 12:59:25 -05:00
2024-08-20 08:07:57 -06:00
2024-04-16 15:32:38 -07:00