mirror of
https://github.com/turbot/steampipe.git
synced 2026-01-24 17:01:48 -05:00
11 lines
208 B
Go
11 lines
208 B
Go
package utils
|
|
|
|
import (
|
|
"context"
|
|
"github.com/turbot/steampipe-plugin-sdk/v5/error_helpers"
|
|
)
|
|
|
|
func IsContextCancelled(ctx context.Context) bool {
|
|
return error_helpers.IsContextCancelledError(ctx.Err())
|
|
}
|