import ( "github.com/cockroachdb/cockroach/pkg/roachpb" ) batchResp := &roachpb.BatchResponse{}
for _, resp := range batchResp.Responses { // do something with resp }Overall, the `BatchResponse` type is part of the `roachpb` package within the `cockroachdb/cockroach` GitHub repository and is used to represent the response from a batch request to a CockroachDB cluster. The provided code examples demonstrate how to create a new `BatchResponse` and iterate over its individual response objects.