Username truncation splits characters

Code reviewMedium25 min

Your task

Review this Go handler that truncates a username to a max length.