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

Unified Diff: service/datastore/properties.go

Issue 1270063002: Rename rawdatastore -> datastore (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: and a bit more Created 5 years, 4 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 | « service/datastore/pls_test.go ('k') | service/datastore/properties_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/datastore/properties.go
diff --git a/service/rawdatastore/properties.go b/service/datastore/properties.go
similarity index 98%
rename from service/rawdatastore/properties.go
rename to service/datastore/properties.go
index 388afba8506d41c874c6e249bfd6c6c301a7f63f..10186daadbf91e7d2335aeb6e7f9c4307830eddd 100644
--- a/service/rawdatastore/properties.go
+++ b/service/datastore/properties.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package rawdatastore
+package datastore
import (
"errors"
@@ -70,7 +70,7 @@ func MkPropertyNI(val interface{}) Property {
}
// PropertyConverter may be implemented by the pointer-to a struct field which
-// is serialized by RawDatastore. Its ToProperty will be called on save, and
+// is serialized by datastore. Its ToProperty will be called on save, and
// it's FromProperty will be called on load (from datastore). The method may
// do arbitrary computation, and if it encounters an error, may return it. This
// error will be a fatal error (as defined by PropertyLoadSaver) for the
@@ -314,7 +314,7 @@ func (p *Property) SetValue(value interface{}, is IndexSetting) (err error) {
return
}
-// PropertyLoadSaver may be implemented by a user type, and RawDatastore will
+// PropertyLoadSaver may be implemented by a user type, and datastore will
// use this interface to serialize the type instead of trying to automatically
// create a serialization codec for it with helper.GetPLS.
type PropertyLoadSaver interface {
« no previous file with comments | « service/datastore/pls_test.go ('k') | service/datastore/properties_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698