embano1 / memlog

A Kafka log inspired in-memory and append-only data structure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve sharding example

embano1 opened this issue · comments

should use len

sharded.WithNumShards(2), // must be >=len(keys)