graph-gophers / dataloader

Implementation of Facebook's DataLoader in Golang
MIT License
1.2k stars 75 forks source link

Why is the return type of NewBatchFunc *Load[K,V]? #108

Open toyohashi6140 opened 1 year ago

toyohashi6140 commented 1 year ago

Why is it that the return type is Load[K,V], which is a struct, even though the Load[K,V] type serves as the default for Interface[K,V]?

I tried to do a pull request for improvement and was blocked with a 403. Please check.

toyohashi6140 commented 1 year ago

The above is about V7.