Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1629)

Unified Diff: service/blobstore/types.go

Issue 1243323002: Refactor a bit. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: fix golint Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « raw_datastore.go ('k') | service/info/context.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/blobstore/types.go
diff --git a/service/blobstore/types.go b/service/blobstore/types.go
new file mode 100644
index 0000000000000000000000000000000000000000..a2ce44e0e46981b4bc2c7d913e1fd9ff27e2b434
--- /dev/null
+++ b/service/blobstore/types.go
@@ -0,0 +1,16 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package blobstore
+
+// Key is a key for a blobstore blob.
+//
+// Conceptually, this type belongs in the blobstore package, but it lives in the
+// appengine package to avoid a circular dependency: blobstore depends on
+// datastore, and datastore needs to refer to the Key type.
+//
+// Blobstore is NOT YET supported by gae, but may be supported later. Its
+// inclusion here is so that the RawDatastore can interact (and round-trip)
+// correctly with other datastore API implementations.
+type Key string
« no previous file with comments | « raw_datastore.go ('k') | service/info/context.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698