Hacker News new | ask | show | jobs
by daveFNbuck 864 days ago
If you do that, people outside the package can also do Username(x) conversions instead of calling NewUsername. Making value package private means that you can only set it from outside the package using provided functionality.