【发布时间】:2017-03-18 04:09:21
【问题描述】:
Google App Engine 有两种不同的数据存储包: google.golang.org/appengine/datastore 和 cloud.google.com/go/datastore。
appengine/datastore 包的The documentation 使用标准环境,而云包的the documentation 使用flex 环境。
我有一个 Go 应用程序,它在标准 GAE 环境中使用 appengine/datastore 包。如果我想将此应用程序从标准环境迁移到 flex 环境,是否需要切换到 cloud.google.com/go/datastore 包,还是可以继续使用 appengine/datastore 包?如果没有,为什么不呢?
【问题讨论】:
标签: google-app-engine go google-cloud-datastore