]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - vendor/github.com/aws/aws-sdk-go/aws/context_background_1_7.go
Upgrade to 0.12
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / aws / aws-sdk-go / aws / context_background_1_7.go
1 // +build go1.7
2
3 package aws
4
5 import "context"
6
7 // BackgroundContext returns a context that will never be canceled, has no
8 // values, and no deadline. This context is used by the SDK to provide
9 // backwards compatibility with non-context API operations and functionality.
10 //
11 // Go 1.6 and before:
12 // This context function is equivalent to context.Background in the Go stdlib.
13 //
14 // Go 1.7 and later:
15 // The context returned will be the value returned by context.Background()
16 //
17 // See https://golang.org/pkg/context for more information on Contexts.
18 func BackgroundContext() Context {
19 return context.Background()
20 }