We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ToSnake("AwesomeAcitvity.UserID") should be "awesome_acitvity.user_id" but not "awesome_acitvity._user_id"
The text was updated successfully, but these errors were encountered:
Hey @jzlikewei, shouldn't it be awesome_acitvity_user_id?
awesome_acitvity_user_id
Sorry, something went wrong.
See #17 test which fixes this in func TestToSnakeWithIgnore(t *testing.T)
func TestToSnakeWithIgnore(t *testing.T)
strcase/snake_test.go
Line 78 in 4406733
Thanks @jzlikewei
No branches or pull requests
ToSnake("AwesomeAcitvity.UserID") should be "awesome_acitvity.user_id" but not "awesome_acitvity._user_id"
The text was updated successfully, but these errors were encountered: