Skip to content
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

21 lines (17 sloc) 616 Bytes
// +build go1.7
package aws
import "context"
// BackgroundContext returns a context that will never be canceled, has no
// values, and no deadline. This context is used by the SDK to provide
// backwards compatibility with non-context API operations and functionality.
// Go 1.6 and before:
// This context function is equivalent to context.Background in the Go stdlib.
// Go 1.7 and later:
// The context returned will be the value returned by context.Background()
// See for more information on Contexts.
func BackgroundContext() Context {
return context.Background()
You can’t perform that action at this time.