package ui func checkUserStrings(user, first, last string) (string, int, bool) { userLen := 15 nameLen := 50 if len(user) > userLen { return user, userLen, false } else if len(first) > nameLen { return first, nameLen, false } else if len(last) > nameLen { return last, nameLen, false } else { return "", 0, true } }