Skip to content

Added the possiblity to disable smart truncate (with the exception of…#75

Merged
matrixik merged 2 commits intogosimple:masterfrom
Aym3nTN:EnableSmartTruncate
Sep 27, 2022
Merged

Added the possiblity to disable smart truncate (with the exception of…#75
matrixik merged 2 commits intogosimple:masterfrom
Aym3nTN:EnableSmartTruncate

Conversation

@Aym3nTN
Copy link
Copy Markdown
Contributor

@Aym3nTN Aym3nTN commented Sep 16, 2022

I had a use-case where I needed to slugify a string and limiting by a certain number of characters without removing the whole word if the subString cut a word in 2.

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 16, 2022

Codecov Report

Merging #75 (5986563) into master (f347b0c) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #75   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          135       150   +15     
=========================================
+ Hits           135       150   +15     
Impacted Files Coverage Δ
languages_substitution.go 100.00% <100.00%> (ø)
slug.go 100.00% <100.00%> (ø)

@matrixik matrixik merged commit 452645f into gosimple:master Sep 27, 2022
@Aym3nTN
Copy link
Copy Markdown
Contributor Author

Aym3nTN commented Sep 28, 2022

Hey @matrixik , thank you for having a look at this! Is it possible to make a v1.13.0 release? I want to use it in argo for a specific use case.

@matrixik
Copy link
Copy Markdown
Member

Hey, I still want to have #74 fixed and merged before releasing new version.

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