code: func ReadFirstLine(s string, isIgnoreLeadingEmptyLines bool) string {
  	scanner := bufio.NewScanner(strings.NewReader(s))
  	firstLine := ""
  	for scanner.Scan() {
  		firstLine = scanner.Text()
  		if !isIgnoreLeadingEmptyLines || firstLine != "" {
  			break
  		}
  	}
  	return firstLine
  }
docs: // ReadFirstLine ...