|
|
|
@@ -59,7 +59,8 @@ func writeUserMetricsExcel(row int, xlsx *excelize.File, sheetName string, userM |
|
|
|
tmp = tmp + 1 |
|
|
|
xlsx.SetCellValue(sheetName, getColumn(tmp)+rows, "") |
|
|
|
tmp = tmp + 1 |
|
|
|
xlsx.SetCellValue(sheetName, getColumn(tmp)+rows, fmt.Sprintf("%.2f", userMetrics.ActivateIndex)) |
|
|
|
t := userMetrics.ActivateIndex * 100 |
|
|
|
xlsx.SetCellValue(sheetName, getColumn(tmp)+rows, fmt.Sprintf("%.2f", t)+"%") |
|
|
|
tmp = tmp + 1 |
|
|
|
xlsx.SetCellValue(sheetName, getColumn(tmp)+rows, userMetrics.TotalUser) |
|
|
|
tmp = tmp + 1 |
|
|
|
|