From 5eb2822653c397d45fcba4ae92954b4bdb4dda0b Mon Sep 17 00:00:00 2001 From: milarin Date: Fri, 13 Jan 2023 10:58:40 +0100 Subject: [PATCH] added Pair --- pair.go | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 pair.go diff --git a/pair.go b/pair.go new file mode 100644 index 0000000..6988679 --- /dev/null +++ b/pair.go @@ -0,0 +1,6 @@ +package model + +type Pair[A, B any] struct { + First A + Second B +}