Как изменить ширину popup.html? Я попытался изменить ширину div в нем, но это, похоже, не имеет никакого эффекта. } type RecordList [] * Record func deleteRecords (l * RecordList, ids [] int) ...
Как бы вы реализовали функцию deleteRecords в приведенном ниже коде:
Example:
type Record struct {
id int
name string
}
type RecordList []*Record
func deleteRecords( l *RecordList, ids []int ) {
// Assume the RecordList can contain several 100 entries.
// and the number of the of the records to be removed is about 10.
// What is the fastest and cleanest ways to remove the records that match
// the id specified in the records list.
}