Skip to content

Instantly share code, notes, and snippets.

@shanev
Created January 21, 2019 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shanev/6437af9c7a54cfc17276a02f1f2e0cae to your computer and use it in GitHub Desktop.
Save shanev/6437af9c7a54cfc17276a02f1f2e0cae to your computer and use it in GitHub Desktop.
// Datastore defines all operations on the DB
// This interface can be mocked out for tests, etc.
type Datastore interface {
Mutations
Queries
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment