Func lo.SnakeCase adds underscore before digits
Author: renomCreated Jul 27, 2026Updated Aug 25, 2026
Function lo.SnakeCase always adds underscore before digits, for example:
str := lo.SnakeCase("Text1")
// text_1Is it supposed behavior? I used a different library, and it didn't add an underscore in such case (i.e. it'd return text1 in the above example).
Source: samber/lo