zaccone / spf

Sender Policy Framework
MIT License
19 stars 6 forks source link

Reduce repetitive code in macro.go #13

Open zaccone opened 8 years ago

zaccone commented 8 years ago

There is lots of go that is copy pasted,especially in the scanMacro() switch statement. Try to find a way to make it more concise and readable.