package app import ( "github.com/dhao2001/mygo/internal/config" ) // WebApp contains application-wide runtime dependencies and metadata. type WebApp struct { Config *config.Config Version string } // NewWebApp creates the application dependency container for the HTTP server. func NewWebApp(cfg *config.Config) *WebApp { return &WebApp{ Config: cfg, Version: AppVersion, } }