appengine_vm.go 496 B

1234567891011121314151617181920
  1. // Copyright 2015 Google Inc. All rights reserved.
  2. // Use of this source code is governed by the Apache 2.0
  3. // license that can be found in the LICENSE file.
  4. //go:build !appengine
  5. // +build !appengine
  6. package appengine
  7. import (
  8. "context"
  9. )
  10. // BackgroundContext returns a context not associated with a request.
  11. //
  12. // Deprecated: App Engine no longer has a special background context.
  13. // Just use context.Background().
  14. func BackgroundContext() context.Context {
  15. return context.Background()
  16. }