Skip to content

Commit 81a076d

Browse files
authored
Merge pull request #62 from alex/patch-1
Fixed module name in README
2 parents 7991159 + 6a7a6fd commit 81a076d

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
@@ -27,7 +27,7 @@ loader := dataloader.NewBatchedLoader(batchFn)
2727
* closure over a value (in this case an interface value and error).
2828
* When called, it will block until the value is resolved.
2929
*/
30-
thunk := loader.Load(ctx.TODO(), dataloader.StringKey("key1")) // StringKey is a convenience method that make wraps string to implement `Key` interface
30+
thunk := loader.Load(context.TODO(), dataloader.StringKey("key1")) // StringKey is a convenience method that make wraps string to implement `Key` interface
3131
result, err := thunk()
3232
if err != nil {
3333
// handle data error

0 commit comments

Comments
 (0)