mirror of
https://codeberg.org/readeck/readeck.git
synced 2025-12-22 05:07:08 +00:00
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.
22 lines
394 B
Go
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)
|
|
}
|
|
}
|