Skip to content
New issue

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

Feature: Lowercase or Quotation-Free options #11

Open
ianhecker opened this issue Oct 18, 2022 · 1 comment
Open

Feature: Lowercase or Quotation-Free options #11

ianhecker opened this issue Oct 18, 2022 · 1 comment

Comments

@ianhecker
Copy link

Hi! Loving this repo. We are using it during devops to create random names for Terraform deployments of EKS clusters

I have found it would be helpful to have a lowercase-only option, as well as being able to generate words without apostrophes

Thank you!

@pezhore
Copy link

pezhore commented Jan 30, 2024

This is an old thing - but if you're still curious about it, I've used this to do some golang things and just added this snippet to handle the tolower/quotes:

word := babbler.Babble()

// strip out single quotes
word = strings.Replace(word, "'", "", -1)

// lower case
word = strings.ToLower(word)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants