News for hackers. Stuff that matters.
Re:Show HN: email - Send emails easily in Go by mseepgood on Tuesday January 07, 2014 @05:41PM (#7020514)
Many packages have a dominant type and a couple of satellite types. If the package name is the same as or similar to the name of the dominant type, 'New' can be appropriate as well.
Re:Show HN: email - Send emails easily in Go by DrJokepu on Tuesday January 07, 2014 @06:07PM (#7020644)
Right. As long it’s super obvious which type New creates, it’s perfectly fine.