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
All the functions referenced in the README.md are advertised to work on blocks of text, but truncate does not:
README.md
truncate
package main import ( "fmt" "github.com/muesli/reflow/truncate" ) func main() { test := "123456789\nhidden" fmt.Println(truncate.String(test, 5)) // output: 12345 }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
All the functions referenced in the
README.md
are advertised to work on blocks of text, buttruncate
does not:The text was updated successfully, but these errors were encountered: