Move Pair to a more reusable location

I originally used this in my day 10 solution, but ended up removing it. Either way, it's a general utility so it belongs here.
This commit is contained in:
2022-06-10 15:19:00 -05:00
parent 0b3cdc2331
commit dd5af1f2cc
2 changed files with 53 additions and 52 deletions

6
utilities/pair.go Normal file
View File

@ -0,0 +1,6 @@
package utilities
type Pair[T, U any] struct {
First T
Second U
}