identity.go 432 B

1234567891011121314
  1. // Copyright 2011 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. package internal
  5. import netcontext "golang.org/x/net/context"
  6. // These functions are implementations of the wrapper functions
  7. // in ../appengine/identity.go. See that file for commentary.
  8. func AppID(c netcontext.Context) string {
  9. return appID(FullyQualifiedAppID(c))
  10. }