hi ,In the java pulsar admin we have the resetcursor with exclude the last message id ,is same approach is available in pulsar admin go ?
public ResetCursorData(long ledgerId, long entryId, boolean isExcluded) {
this.ledgerId = ledgerId;
this.entryId = entryId;
this.isExcluded = isExcluded;
}
func (s *subscriptions) ResetCursorToMessageID(topic utils.TopicName, sName string, id utils.MessageID) error {
return s.ResetCursorToMessageIDWithContext(context.Background(), topic, sName, id)
}