Post weekly instead

This commit is contained in:
idanoo 2023-01-30 12:38:28 +13:00
parent f2c7022469
commit 5a884fe3d9
Signed by: idanoo
GPG key ID: 387387CDBC02F132
3 changed files with 12 additions and 28 deletions

View file

@ -4,9 +4,6 @@ import (
"fmt"
"log"
"time"
"golang.org/x/text/cases"
"golang.org/x/text/language"
)
// Stores out metric/row data
@ -117,8 +114,5 @@ func getUserCounts() ([]metric, error) {
}
func getPrintableString(m metric) string {
caser := cases.Title(language.English)
titleStr := caser.String(m.Service)
return fmt.Sprintf("%s: %d", titleStr, m.MetricValue)
return fmt.Sprintf("%s: %d", SERVICE_LINKS[m.Service], m.MetricValue)
}