package globals import ( "go.uber.org/fx" ) // these get populated from main() and copied into the Globals object. var ( Appname string Version string ) type Globals struct { Appname string Version string } func New(lc fx.Lifecycle) (*Globals, error) { n := &Globals{ Appname: Appname, Version: Version, } return n, nil }