sampleIDs := make([]value.ID, 0) if sampleIDs, count, err = i.getSamplesByIDs(companyID, sampleIDs); err != nil { return nil, errors.Wrap(err, app.GetCallerInfo()) }
修正
if sampleIDs, count, err = i.getSamplesByIDs(companyID, sampleIDs); err != nil { return nil, errors.Wrap(err, app.GetCallerInfo()) }