code: func (m *Messages) Get(index int) (message *Message, _ error) {
  	if index < 0 || index >= len(m.messages) {
  		return nil, errors.New("index out of bounds")
  	}
  	return &Message{m.messages[index]}, nil
  }
docs: // Get returns the message at the given index from the slice.