Open doi-t opened 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
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