mirror of
https://github.com/turbot/steampipe.git
synced 2026-02-18 04:00:20 -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())
|
|
}
|