code: func (r *Record) AppendElements(list []interface{}) []interface{} {
  	list = append(list, r.seq)
  	for _, p := range r.pairs {
  		list = append(list, p.k, p.v)
  	}
  	return list
  }
docs: // AppendElements appends the sequence number and entries to the given slice.