doi-t / gbookshelf

Manage your bookshelf
Apache License 2.0
0 stars 0 forks source link

firestore as a data store #14

Open doi-t opened 5 years ago

doi-t commented 5 years ago
doi-t commented 5 years ago

If you are using a gRPC-supported language, consider using the RPC API rather than the REST API. https://firebase.google.com/docs/firestore/use-rest-api

doi-t commented 5 years ago

https://firebase.google.com/docs/firestore/quickstart is already outdated.

Run go get cloud.google.com/go/firestore instead of go get firebase.google.com/go.

Follow https://godoc.org/cloud.google.com/go/firestore instead of https://firebase.google.com/docs/firestore/quickstart.

example: https://github.com/GoogleCloudPlatform/google-cloud-go/blob/master/firestore/examples_test.go