3 ms·
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 o
by daveFNbuck 3y 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.