tree: 32962c9d6123bc53fbea1205509e51b03dfd2b30
  1. adapters.go
  2. doc.go
  3. dsiface_test.go
  4. examples_test.go
  5. interfaces.go
  6. README.md
datastore/dsiface/README.md

Datastore

Run Tests

Run unit tests

The unit tests run locally against an example fake and do not require any configuration.

go test --short

Run all tests

The integration tests will reach out and store, read and then delete a value from a datastore. You have to provide the DATASTORE_PROJECT_ID environment variable and the client has to be able to find credentials.

For example:

DATASTORE_PROJECT_ID=<proj-id> GOOGLE_APPLICATION_CREDENTIALS=</path/to/creds.json> go test