We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0261491 + c249e48 commit 704a603Copy full SHA for 704a603
README.md
@@ -14,7 +14,7 @@ This project is a work in progress. Feedback is encouraged.
14
## Usage
15
```go
16
// setup batch function
17
-batchFn := func(ctx context.Context, keys []string) []*dataloader.Result {
+batchFn := func(ctx context.Context, keys []interface{}) []*dataloader.Result {
18
var results []*dataloader.Result
19
// do some aync work to get data for specified keys
20
// append to this list resolved values
0 commit comments