Documentation
¶
Index ¶
- func IsRetryableError(err error) bool
- func NoResult(ctx context.Context, operation func(context.Context) error) error
- func Operation[T any](ctx context.Context, operation func(context.Context) (T, error)) (T, error)
- func Transaction(ctx context.Context, db *bun.DB, fn func(context.Context, bun.Tx) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRetryableError ¶
IsRetryableError checks if the given error is retryable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.