- Import time/tzdata in cmd/gog/main.go to bundle the IANA tz database into the binary (~450KB), fixing time.LoadLocation on Windows - Add tzdata_test.go verifying LoadLocation works for representative zones - Add windows-latest CI job running the full gate (fmt, lint, test, build)
15 lines
275 B
Go
15 lines
275 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/steipete/gogcli/internal/cmd"
|
|
_ "github.com/steipete/gogcli/internal/tzembed" // Embed IANA timezone database for Windows support
|
|
)
|
|
|
|
func main() {
|
|
if err := cmd.Execute(os.Args[1:]); err != nil {
|
|
os.Exit(cmd.ExitCode(err))
|
|
}
|
|
}
|