gogcli/cmd/gog/main.go
Viz 4b1d1d429d
fix: embed IANA timezone database for Windows support (#388)
- 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)
2026-03-07 14:53:06 +00:00

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))
}
}