Skip to content

Commit 704a603

Browse files
authored
Merge pull request graph-gophers#34 from JieJhih/v4
2 parents 0261491 + c249e48 commit 704a603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This project is a work in progress. Feedback is encouraged.
1414
## Usage
1515
```go
1616
// setup batch function
17-
batchFn := func(ctx context.Context, keys []string) []*dataloader.Result {
17+
batchFn := func(ctx context.Context, keys []interface{}) []*dataloader.Result {
1818
var results []*dataloader.Result
1919
// do some aync work to get data for specified keys
2020
// append to this list resolved values

0 commit comments

Comments
 (0)