jhillyerd / enmime

MIME mail encoding and decoding package for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove parent param from NewPart

jhillyerd opened this issue · comments

Now that we have AddChild(), the parent parameter is redundant.

Consider removing NewPart() entirely.

Constructor is still useful for initializing header map, so I will only remove the parent parameter.