343 B
343 B
PROBLEM
-
parser.go/parse()
also does updating. back to square one.- we need to extract the reusable behavior: scanning.
-
inflexible:
- adding a filter is hard. needs to change the
scan()
code. - adding a grouper is also hard. domain grouping is hardcoded.
- adding a filter is hard. needs to change the
SOLUTION
IDEAS:
- make domain filter accept variadic args