diff options
author | 2024-04-10 12:04:11 +0100 | |
---|---|---|
committer | 2024-04-10 12:04:11 +0100 | |
commit | 4d16c3adaf10c5d777b9504e7ef8e770a3b7e4c6 (patch) | |
tree | f79adb1f62f5c7ff16e5b0d4a3b3d1a6a6839d7b /vendor/google.golang.org/appengine/internal/app_id.go | |
parent | [docs] update deployment considerations docs with latest findings (#2821) (diff) | |
download | gotosocial-4d16c3adaf10c5d777b9504e7ef8e770a3b7e4c6.tar.xz |
[chore]: Bump golang.org/x/oauth2 from 0.18.0 to 0.19.0 (#2816)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.18.0...v0.19.0)
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/google.golang.org/appengine/internal/app_id.go')
-rw-r--r-- | vendor/google.golang.org/appengine/internal/app_id.go | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/vendor/google.golang.org/appengine/internal/app_id.go b/vendor/google.golang.org/appengine/internal/app_id.go deleted file mode 100644 index 11df8c07b..000000000 --- a/vendor/google.golang.org/appengine/internal/app_id.go +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2011 Google Inc. All rights reserved. -// Use of this source code is governed by the Apache 2.0 -// license that can be found in the LICENSE file. - -package internal - -import ( - "strings" -) - -func parseFullAppID(appid string) (partition, domain, displayID string) { - if i := strings.Index(appid, "~"); i != -1 { - partition, appid = appid[:i], appid[i+1:] - } - if i := strings.Index(appid, ":"); i != -1 { - domain, appid = appid[:i], appid[i+1:] - } - return partition, domain, appid -} - -// appID returns "appid" or "domain.com:appid". -func appID(fullAppID string) string { - _, dom, dis := parseFullAppID(fullAppID) - if dom != "" { - return dom + ":" + dis - } - return dis -} |