79688163

Date: 2025-07-02 23:17:31
Score: 0.5
Natty:
Report link

If you look at the description of strconv.Itoa, it tells you:

Itoa is equivalent to [FormatInt](int64(i), 10).

Therefore to avoid any issues with truncation, simply use:

strconv.FormatInt(lastId, 10)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tex Andersen