move to codeberg (#1)

This commit is contained in:
T. von Dein
2025-12-16 20:43:46 +01:00
parent 541804e139
commit a91664c8c2
6 changed files with 140 additions and 6 deletions

View File

@@ -36,12 +36,12 @@ func main() {
data, err := os.ReadFile(statsfile)
if err != nil {
log.Fatalf("Could not read watson stats file: %w", err)
log.Fatalf("Could not read watson stats file: %s", err)
}
var stats Stats
if err = json.Unmarshal(data, &stats); err != nil {
log.Fatalf("Could not unmarshal JSON: %w", err)
log.Fatalf("Could not unmarshal JSON: %s", err)
}
start := time.Unix(stats.Start, 0)