for { str, err := reader.ReadString('\n') if err != nil { return numbers } numbers[str] = true }
Done