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

Added Generating Slugs with Random Numbers #82

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tuncaydamlar
Copy link

This pull request adds a new function named "MakeWithRandomNumber" to the project. This function allows users to automatically generate a slug from the provided text-based input and append a random 3-digit number to the end of the slug. This provides developers with an easy way to create unique and randomized slugs.

The new function is based on the existing slug generation logic of the project and uses the "en" language. It also uses a reliable seed value for generating random numbers, ensuring that you get different slugs every time you run it.

This pull request adds a new function named "MakeWithRandomNumber" to the project. This function allows users to automatically generate a slug from the provided text-based input and append a random 3-digit number to the end of the slug. This provides developers with an easy way to create unique and randomized slugs.

The new function is based on the existing slug generation logic of the project and uses the "en" language. It also uses a reliable seed value for generating random numbers, ensuring that you get different slugs every time you run it.
@codecov
Copy link

codecov bot commented Sep 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (412e31a) to head (dfb2d85).

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #82   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          126       133    +7     
=========================================
+ Hits           126       133    +7     
Files Coverage Δ
slug.go 100.00% <100.00%> (ø)

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

Successfully merging this pull request may close these issues.

2 participants