mirror of
https://github.com/hanzoai/beego.git
synced 2026-11-17 13:19:25 +00:00
The unified Hanzo cloud binary composes subsystems that may each pull a beego
grace package (legacy beego v1 alongside this v2 fork); both register the same
"graceful"/"socketorder" flags in init(). Defining a flag twice on
flag.CommandLine panics ("flag redefined"). Guard each registration with
flag.Lookup so the unified binary boots regardless of init order.