Files
Olivier Meunier e3f79284e7 Load embedded tzdata and force TZ on some time related tests.
time/tzdata embeds a local copy of tzdata if the system has none.

use testing.T.Setenv to force a specific timezone on some tests.
2025-06-12 22:13:47 +02:00

22 lines
394 B
Go

// SPDX-FileCopyrightText: © 2020 Olivier Meunier <olivier@neokraft.net>
//
// SPDX-License-Identifier: AGPL-3.0-only
// Package main starts Readeck app subcommands.
package main
import (
"fmt"
"os"
_ "time/tzdata" // load embedded tzdata
"codeberg.org/readeck/readeck/internal/app"
)
func main() {
if err := app.Run(); err != nil {
fmt.Printf("ERROR: %s\n", err)
os.Exit(1)
}
}