code: func getLines(input []byte, commentMarker []byte) [][]byte {
  	lines := bytes.Split(input, []byte("\n"))
  	var output [][]byte
  	for _, currentLine := range lines {
  		var commentIndex = bytes.Index(currentLine, commentMarker)
  		if commentIndex == -1 {
  			output = append(output, currentLine)
  		} else {
  			output = append(output, currentLine[:commentIndex])
  		}
  	}
  	return output
  }
docs: // getLines parses input into lines and strips away comments.