{"modulePath":"github.com/newstack-cloud/deploy-cli-sdk","version":"v0.10.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package strings\n\n## Functions\n\n```go\nfunc FromPointer(s *string) string\n```\nFromPointer returns the string value of a pointer to a string. If the pointer is nil, it returns an empty string.\n\n```go\nfunc Pluralize(count int, singular, plural string) string\n```\nPluralize returns the singular form if count is 1, otherwise the plural form.\n\n```go\nfunc TruncateString(s string, maxLen int) string\n```\nTruncateString truncates a string to a maximum length.\n\n```go\nfunc WrapText(text string, width int) string\n```\nWrapText wraps text to the specified width, breaking at word boundaries.\n\n","path":"github.com/newstack-cloud/deploy-cli-sdk/strings","name":"strings","synopsis":"","isRedistributable":true}
