Added support for eliminating duplicate domains within the Go tool, reducing the need for additional utilities like sort or uniq.
Modified the doWork function to insert domains into a sync.Map instead of directly printing to stdout.
Added a separate function to handle printing to stdout after all goroutines finish their work. This function iterates over the sync.Map, effectively printing only unique domains.
Modified the program flow to wait until all goroutines finish their work before printing unique domains to stdout.
Added support for eliminating duplicate domains within the Go tool, reducing the need for additional utilities like sort or uniq.
Modified the doWork function to insert domains into a sync.Map instead of directly printing to stdout.
Added a separate function to handle printing to stdout after all goroutines finish their work. This function iterates over the sync.Map, effectively printing only unique domains.
Modified the program flow to wait until all goroutines finish their work before printing unique domains to stdout.