Anders Eknert
2378494a23
Modernize fixes and some string building improvements ( #8993 )
...
Mostly automated fixes from running:
```
go run golang.org/x/tools/go/analysis/passes/modernize/cmd/modernize@latest --fix ./...
```
But carefully reviewed, and several fixes reverted as they looked like
they potentially could be less performant, and in a few cases due to
bugs in the analyzer that changed semantics of the code. Will report
these upstream.
Mostly good fixes though!
Signed-off-by: Anders Eknert <anders.eknert@apple.com >
2026-08-10 12:49:15 +02:00
..
2026-07-17 09:04:08 -05:00
2026-08-10 12:49:15 +02:00
2026-07-25 12:18:17 +02:00
2026-04-13 20:20:51 +00:00
2025-08-24 09:02:09 +02:00
2024-12-12 15:09:03 +01:00
2024-12-12 15:27:34 +01:00
2026-06-26 10:04:30 +02:00
2026-07-17 09:04:08 -05:00
2026-08-10 11:32:21 +02:00
2026-02-10 20:57:12 +00:00
2026-05-21 23:00:34 +02:00
2026-02-16 10:35:00 +01:00
2026-02-13 11:11:27 +00:00
2026-02-13 11:11:27 +00:00
2024-12-12 15:09:03 +01:00
2026-01-18 09:05:27 +01:00
2026-08-10 12:49:15 +02:00
2025-01-30 09:57:27 +01:00
2024-12-12 15:09:03 +01:00
2026-07-14 08:30:20 +02:00
2024-12-12 15:09:03 +01:00
2025-06-23 11:40:00 +02:00
2025-08-24 09:02:09 +02:00
2026-01-12 09:28:16 +01:00
2026-06-04 13:08:57 +00:00
2026-02-16 10:35:00 +01:00
2026-02-16 10:35:00 +01:00
2025-10-10 17:51:02 +02:00
2025-11-18 16:02:12 +01:00
2024-12-12 15:09:03 +01:00
2025-11-18 16:02:12 +01:00
2026-01-12 09:28:16 +01:00
2026-08-10 12:49:15 +02:00
2026-07-30 17:41:28 +01:00
2026-01-08 10:14:53 +01:00
2026-01-27 21:46:11 +00:00
2026-02-23 13:20:27 +00:00
2026-06-04 13:08:57 +00:00
2026-07-24 10:15:07 +02:00
2026-05-18 09:33:39 +00:00
2026-05-18 15:46:32 +02:00
2025-05-12 13:57:48 +02:00
2026-06-26 14:07:16 +02:00
2026-07-13 19:50:02 +02:00
2026-08-10 12:49:15 +02:00
2025-08-24 09:02:09 +02:00
2025-06-23 11:40:00 +02:00
2025-10-15 12:47:08 +02:00
2025-11-10 10:06:21 +01:00
2026-03-06 22:07:35 +00:00
2026-02-12 08:42:05 +01:00
2026-02-12 08:42:05 +01:00
2026-07-30 17:41:28 +01:00
2026-08-10 12:49:15 +02:00
2026-08-10 12:49:15 +02:00
2025-05-12 13:57:48 +02:00
2025-01-31 20:24:05 +01:00
2026-05-05 09:48:50 +02:00
2026-06-01 15:42:59 -04:00
2024-12-12 15:09:03 +01:00
2026-06-01 15:42:59 -04:00
2026-08-10 11:30:21 +01:00
2026-05-21 18:36:14 +02:00
2026-08-10 12:49:15 +02:00
2026-01-12 09:28:16 +01:00
2025-10-10 17:51:02 +02:00
2025-08-24 09:02:09 +02:00
2026-01-08 23:50:33 +01:00
2026-06-04 13:08:57 +00:00
2024-12-12 15:09:03 +01:00
2026-06-05 10:28:58 +02:00
2026-08-10 12:49:15 +02:00
2026-04-23 13:41:16 +00:00
2024-12-12 15:09:03 +01:00
2025-12-16 11:47:04 +01:00
2025-12-18 11:04:18 +00:00
2026-02-10 20:57:12 +00:00
2025-08-24 09:02:09 +02:00
2026-07-14 08:30:20 +02:00
2026-04-14 10:45:43 -05:00
2026-08-10 12:49:15 +02:00
2025-01-31 20:24:05 +01:00
2025-01-30 09:57:27 +01:00
2025-08-24 09:02:09 +02:00
2026-01-08 13:58:19 +01:00
2026-01-12 09:28:16 +01:00
2026-02-16 10:35:00 +01:00
2025-08-24 09:02:09 +02:00
2025-06-23 11:40:00 +02:00
2024-12-12 15:09:03 +01:00
2026-07-24 10:15:07 +02:00
2025-11-04 09:09:50 +01:00
2025-10-10 17:51:02 +02:00
2024-12-12 15:09:03 +01:00
2026-01-08 10:24:13 +01:00
2025-12-02 16:56:58 +01:00
2026-07-02 10:14:17 +00:00
2026-08-10 12:49:15 +02:00
2025-06-23 11:40:00 +02:00
2026-07-07 21:08:19 +02:00
2025-12-18 11:04:18 +00:00
2025-12-18 11:04:18 +00:00
2026-07-07 21:08:19 +02:00
2025-02-17 22:08:27 +01:00
2026-04-13 20:20:51 +00:00
2026-04-13 20:20:51 +00:00
2025-08-24 09:02:09 +02:00
2026-04-30 10:49:52 +02:00
2026-04-30 10:49:52 +02:00
2026-08-10 12:49:15 +02:00
2026-06-26 14:07:16 +02:00
2025-10-10 17:51:02 +02:00
2026-07-25 12:18:17 +02:00
2026-03-30 18:12:57 +02:00
2026-06-26 14:07:16 +02:00
2026-08-10 12:49:15 +02:00
2025-06-23 11:40:00 +02:00
2025-06-23 11:40:00 +02:00
2026-04-29 13:08:15 +00:00
2025-08-24 09:02:09 +02:00
2025-05-28 23:19:31 +02:00
2026-02-10 20:57:12 +00:00