Nick Khyl
f8f9f05ffe
cmd/viewer: add support for map-like container types
...
This PR modifies viewTypeForContainerType to use the last type parameter of a container type
as the value type, enabling the implementation of map-like container types where the second-to-last
(usually first) type parameter serves as the key type.
It also adds a MapContainer type to test the code generation.
Updates #12736
Signed-off-by: Nick Khyl <nickk@tailscale.com>
2024-08-14 16:33:51 -05:00
..
2023-01-27 15:36:29 -08:00
2023-12-07 20:57:31 -05:00
2024-07-12 15:31:34 -05:00
2023-12-15 09:29:42 -08:00
2024-08-14 05:28:29 +01:00
2024-08-12 21:02:35 -05:00
2024-08-06 11:27:59 +01:00
2024-04-22 17:43:28 -04:00
2024-02-07 18:10:15 -08:00
2024-08-08 13:23:06 -07:00
2024-02-02 15:48:31 -08:00
2024-06-10 17:57:22 +01:00
2024-08-14 17:57:50 +01:00
2023-03-01 15:45:12 -07:00
2023-08-03 13:00:45 -07:00
2023-02-18 05:21:05 +00:00
2023-01-27 15:36:29 -08:00
2024-07-08 19:10:44 -07:00
2024-04-16 15:32:38 -07:00
2023-03-13 08:44:25 -07:00
2024-05-10 15:29:13 -07:00
2023-02-11 17:57:36 +00:00
2024-06-21 12:17:39 +02:00
2024-06-05 15:24:04 -07:00
2023-01-27 15:36:29 -08:00
2023-08-23 23:53:19 +01:00
2024-06-14 09:46:16 -07:00
2024-07-08 17:00:43 -05:00
2024-08-12 14:09:45 -07:00
2023-08-24 15:42:35 -07:00
2024-08-14 09:18:34 -07:00
2024-08-14 09:18:34 -07:00
2024-04-16 15:32:38 -07:00
2024-02-21 13:08:17 -06:00
2024-06-05 15:24:04 -07:00
2024-08-08 10:46:45 -04:00
2023-01-27 15:36:29 -08:00
2024-08-12 15:32:12 -07:00
2024-08-14 16:33:51 -05:00
2024-08-13 15:26:12 -07:00
2024-07-10 09:57:00 -07:00