-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
improve string descs #324
Merged
Merged
improve string descs #324
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-merge-queue bot
referenced
this pull request
in infratographer/x
Apr 2, 2024
…200) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/brianvoe/gofakeit/v6](https://togithub.com/brianvoe/gofakeit) | `v6.23.2` -> `v6.28.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fbrianvoe%2fgofakeit%2fv6/v6.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fbrianvoe%2fgofakeit%2fv6/v6.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fbrianvoe%2fgofakeit%2fv6/v6.23.2/v6.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fbrianvoe%2fgofakeit%2fv6/v6.23.2/v6.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>brianvoe/gofakeit (github.com/brianvoe/gofakeit/v6)</summary> ### [`v6.28.0`](https://togithub.com/brianvoe/gofakeit/releases/tag/v6.28.0): Descriptions!!! [Compare Source](https://togithub.com/brianvoe/gofakeit/compare/v6.27.0...v6.28.0) Thanks to the contributor [@​se-omar](https://togithub.com/se-omar) for all his great work in updating all the descriptions for lookups. #### What's Changed - Sql descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/323](https://togithub.com/brianvoe/gofakeit/pull/323) - School descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/322](https://togithub.com/brianvoe/gofakeit/pull/322) - Product descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/321](https://togithub.com/brianvoe/gofakeit/pull/321) - Person descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/320](https://togithub.com/brianvoe/gofakeit/pull/320) - Payment descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/319](https://togithub.com/brianvoe/gofakeit/pull/319) - Number descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/318](https://togithub.com/brianvoe/gofakeit/pull/318) - improve word adjective by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/327](https://togithub.com/brianvoe/gofakeit/pull/327) - improve time descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/326](https://togithub.com/brianvoe/gofakeit/pull/326) - improve template descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/325](https://togithub.com/brianvoe/gofakeit/pull/325) - improve string descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/324](https://togithub.com/brianvoe/gofakeit/pull/324) - improve word grammer descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/331](https://togithub.com/brianvoe/gofakeit/pull/331) - improve word general descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/330](https://togithub.com/brianvoe/gofakeit/pull/330) - improve word connective by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/329](https://togithub.com/brianvoe/gofakeit/pull/329) - improve word adverbs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/328](https://togithub.com/brianvoe/gofakeit/pull/328) - improve app descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/339](https://togithub.com/brianvoe/gofakeit/pull/339) - improve word_noun descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/333](https://togithub.com/brianvoe/gofakeit/pull/333) - improve word phrase descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/334](https://togithub.com/brianvoe/gofakeit/pull/334) - improve preposition descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/335](https://togithub.com/brianvoe/gofakeit/pull/335) - improve word verb descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/338](https://togithub.com/brianvoe/gofakeit/pull/338) - improve word sentence descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/337](https://togithub.com/brianvoe/gofakeit/pull/337) - improve pronoun descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/336](https://togithub.com/brianvoe/gofakeit/pull/336) - improve car descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/343](https://togithub.com/brianvoe/gofakeit/pull/343) - improve book descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/342](https://togithub.com/brianvoe/gofakeit/pull/342) - improve beer descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/341](https://togithub.com/brianvoe/gofakeit/pull/341) - improve auth descs by [@​se-omar](https://togithub.com/se-omar) in [https://github.com/brianvoe/gofakeit/pull/340](https://togithub.com/brianvoe/gofakeit/pull/340) **Full Changelog**: brianvoe/gofakeit@v6.27.0...v6.28.0 ### [`v6.27.0`](https://togithub.com/brianvoe/gofakeit/compare/v6.26.4...v6.27.0) [Compare Source](https://togithub.com/brianvoe/gofakeit/compare/v6.26.4...v6.27.0) ### [`v6.26.4`](https://togithub.com/brianvoe/gofakeit/compare/v6.26.3...v6.26.4) [Compare Source](https://togithub.com/brianvoe/gofakeit/compare/v6.26.3...v6.26.4) ### [`v6.26.3`](https://togithub.com/brianvoe/gofakeit/compare/v6.26.2...v6.26.3) [Compare Source](https://togithub.com/brianvoe/gofakeit/compare/v6.26.2...v6.26.3) ### [`v6.26.2`](https://togithub.com/brianvoe/gofakeit/compare/v6.26.1...v6.26.2) [Compare Source](https://togithub.com/brianvoe/gofakeit/compare/v6.26.1...v6.26.2) ### [`v6.26.1`](https://togithub.com/brianvoe/gofakeit/compare/v6.26.0...v6.26.1) [Compare Source](https://togithub.com/brianvoe/gofakeit/compare/v6.26.0...v6.26.1) ### [`v6.26.0`](https://togithub.com/brianvoe/gofakeit/releases/tag/v6.26.0): Products!!! v6.26.0 [Compare Source](https://togithub.com/brianvoe/gofakeit/compare/v6.25.0...v6.26.0) 🚀 Unleash the Power of Gofakeit 2.0: Elevate Your Data Faking Game! 🚀 We're thrilled to introduce the latest and greatest update to Gofakeit, and this time, we've supercharged your data faking experience with a suite of powerful new functions! Say hello to the game-changing Product module, a feature-packed addition that will revolutionize the way you generate fake product information. 🛍️✨ 🎁 Introducing the Product() Function: Get ready to dive into a world of limitless possibilities with the Product() function! It's your go-to command for creating realistic and captivating fake product data effortlessly. Harness the magic within this function to craft dynamic, authentic product information that will leave your users amazed and engaged. 🏷️ ProductName() – Unleash the Creativity: Forge compelling product identities with the ProductName() function. From quirky gadgets to sophisticated fashion pieces, this function lets you generate catchy and unique names that captivate your audience. 📝 ProductDescription() – Tell a Story: Bring your products to life with the ProductDescription() function! Craft vivid and intriguing descriptions that go beyond the mundane, ensuring your fake data is as immersive as it is imaginative. Spark curiosity and keep your users hooked. 🔖 ProductCategory() – Define the Essence: Organize your products seamlessly with the ProductCategory() function. From electronics to fashion, create a diverse range of categories that add depth and structure to your fake data, making it more realistic and relatable. 🌟 ProductFeature() – Highlight the Best: Elevate your product data with the ProductFeature() function! Showcase unique features that set your fake products apart. Whether it's cutting-edge technology or innovative design, this function lets you highlight the essence of your creations. 🛠️ ProductMaterial() – Craft Authenticity: Immerse your users in the tactile world of your fake products with the ProductMaterial() function. Specify materials that resonate with authenticity, allowing your users to envision the quality and feel of the items you've meticulously crafted. 🎉 Elevate your data generation game to new heights with Gofakeit 2.0! 🎉 Unleash creativity, captivate your audience, and make your fake data more convincing than ever before. The world is your oyster, and with Gofakeit's new Product module, you're the master creator of captivating, realistic product information! 🚀🌐💼 Upgrade now and experience the thrill of data faking like never before! 🚀✨ #Gofakeit ### [`v6.25.0`](https://togithub.com/brianvoe/gofakeit/releases/tag/v6.25.0): Templates!!! v6.25.0 [Compare Source](https://togithub.com/brianvoe/gofakeit/compare/v6.24.0...v6.25.0) 🚀 Exciting New Release for Gofakeit v6! We're thrilled to introduce the latest version of Gofakeit, packed with a powerful addition to enhance your templating experience. Brace yourself for the introduction of custom outputs using Golang's template engine! 🌟 SPECIAL THANKS to [@​Mrpye](https://togithub.com/Mrpye) for his work on this! 🎭 Template Magic Now, you can unleash your creativity with custom outputs using Golang's template engine. We've integrated all available functions into the template engine, providing you with a versatile toolkit to craft dynamic and personalized content. 🛠 Additional Functions But that's not all! We've gone the extra mile and added some game-changing functions to supercharge your template building: ToUpper & ToLower: Easily manipulate text case for a polished appearance. ToString: Swiftly convert any data type to a string. ToDate: Effortlessly transform strings into time.Time objects. SpliceAny, SpliceString, SpliceUInt, SpliceInt: Build slices dynamically, perfect for weighted scenarios and random selections. 🌐 Example Usages To give you a taste of the excitement, here's a snippet showcasing the newfound template capabilities: ```go // Your template goes here template := ` Subject: {{RandomString (SliceString "Greetings" "Hello" "Hi")}} Dear {{LastName}}, {{RandomString (SliceString "Greetings!" "Hello there!" "Hi, how are you?")}} {{Paragraph 1 5 10 "\n\n"}} {{RandomString (SliceString "Warm regards" "Best wishes" "Sincerely")}} {{$person:=Person}} {{$person.FirstName}} {{$person.LastName}} {{$person.Email}} {{$person.Phone}} ` // Applying the template value, err := gofakeit.Template(template, nil) ``` ### [`v6.24.0`](https://togithub.com/brianvoe/gofakeit/compare/v6.23.2...v6.24.0) [Compare Source](https://togithub.com/brianvoe/gofakeit/compare/v6.23.2...v6.24.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/infratographer/x). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.