You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/viewer/tests
Nick Khyl 20562a4fb9 cmd/viewer, types/views, util/codegen: add viewer support for custom container types
This adds support for container-like types such as Container[T] that
don't explicitly specify a view type for T. Instead, a package implementing
a container type should also implement and export a ContainerView[T, V] type
and a ContainerViewOf(*Container[T]) ContainerView[T, V] function, which
returns a view for the specified container, inferring the element view type V
from the element type T.

Updates #12736

Signed-off-by: Nick Khyl <nickk@tailscale.com>
5 months ago
..
tests.go cmd/viewer, types/views, util/codegen: add viewer support for custom container types 5 months ago
tests_clone.go cmd/viewer, types/views, util/codegen: add viewer support for custom container types 5 months ago
tests_view.go cmd/viewer, types/views, util/codegen: add viewer support for custom container types 5 months ago