from the doc, i see the XReadGroupArgs struct as below:
type XReadGroupArgs struct {
Group string
Consumer string
Streams []string
Count int64
Block time.Duration
NoAck bool
}
my question is that how can i specified the id parameter?
XReadGroupArgs.Streams = []string{"stream1", "id1", "stream2", "id2"}
THANKS very much, I will try it.
Most helpful comment
XReadGroupArgs.Streams = []string{"stream1", "id1", "stream2", "id2"}