Consolidate appname to internal/globals as a constant #34

Merged
sneak merged 2 commits from consolidate-appname-to-globals into main 2026-03-20 07:04:54 +01:00

2 Commits

Author SHA1 Message Date
9cde18549e Merge branch 'main' into consolidate-appname-to-globals
All checks were successful
check / check (push) Successful in 1m5s
2026-03-18 03:45:49 +01:00
user
cf825a7260 consolidate appname to internal/globals as a constant
All checks were successful
check / check (push) Successful in 1m47s
The appname was redundantly defined in both cmd/pixad/main.go and
internal/globals/globals.go. Since it is always "pixad" and is not
actually set via ldflags (only Version is), define it once as an
unexported constant in globals.go and remove it from main.go.
2026-03-17 01:53:21 -07:00