Use map[string]struct{} replace map[string]bool to be a set.
Using struct{} can save more memory than bool.