use NewSet() function instead of make() in case we want to do something fancy in the future

This commit is contained in:
Stefan Harmuth 2020-12-28 12:04:17 +01:00
parent e060351bbd
commit b1a6912dd8

View File

@ -69,7 +69,7 @@ func Part1(puzzle tools.AoCPuzzle) interface{} {
func Part2(puzzle tools.AoCPuzzle) interface{} {
sueSpecs := getSueSpecSlice(puzzle.GetInputArray())
dontCheckExact := make(tools.Set)
dontCheckExact := tools.NewSet()
dontCheckExact.Add("cats")
dontCheckExact.Add("trees")
dontCheckExact.Add("pomeranians")