Yes, this is a terrible idea - it violates referential transparency, which is a property that is always worth working towards, imo. I can't think of a reason to justify breaking that property in this scenario.
uuid_generator would be far less likely to be misused than u.
For whatever reason, however, descriptive variables are not very popular in the Go community.