set set is a Set datatype for go. Since map[T comparable]struct{} exists already in native go, it is not really useful and just for fun.