What are the differences between these GAE libraries?

Throughout the Google App Engine documentation for Go, they use libraries interchangeably. Here is an example:

import "cloud.google.com/go/datastore"
import "google.golang.org/appengine/datastore"

Which of these libraries should I use and what are the main differences?

+4
source share
1 answer

cloud.google.com/go/datastore is a client library for the Cloud Datastore stop API (accessible from anywhere).

google.golang.org/appengine/datastore is part of the App Engine API (available only from the App Engine).

+2
source

Source: https://habr.com/ru/post/1655640/


All Articles