Create Obfuscator struct
Closed this issue · 1 comments
rentziass commented
Instead of having just the Obfuscate
func, it would be nice it was a method of an Obfuscator
, changing it to
type Obfuscator struct {
Targets []*Target
Logger Logger
}
func (o *Obfuscator) Run (r io.Reader, writer io.Writer) error
That would allow us to also get rid of Log
package level variable, which is a bad bad pattern.
m1ome commented
I am on it, if you don't mind