Versions in this module Expand all Collapse all v0 v0.1.1 Aug 18, 2026 v0.1.0 Aug 18, 2026 Changes in this version + func CollapseBlankLines(s string) string + func Do(ctx context.Context, cfg RetryConfig, fn func(attempt int) error) error + func IsRetryable(err error) bool + func LastLines(s string, n int) []string + func ShortHash(parts ...string) string + func TruncateRunes(s string, max int) string + type RetryConfig struct + Attempts int + BaseWait time.Duration + MaxWait time.Duration + func DefaultRetry() RetryConfig + type Retryable interface + Retryable func() bool