code: func (f *File) Lines() ([]string, error) {
  	content, err := f.Contents()
  	if err != nil {
  		return nil, err
  	}
  
  	splits := strings.Split(content, "\n")
  	// remove the last line if it is empty
  	if splits[len(splits)-1] == "" {
  		return splits[:len(splits)-1], nil
  	}
  
  	return splits, nil
  }
docs: // Lines returns a slice of lines from the contents of a file, stripping
  // all end of line characters. If the last line is empty (does not end
  // in an end of line), it is also stripped.