Show prints the build information in JSON format.
This function uses the sync.Once mechanism to ensure that the build information is initialized only once,
thus avoiding the problem of concurrent initialization and ensuring thread safety.
Get returns an instance of BuildInfo.
This function ensures that the build information is initialized only once using sync.Once,
which improves performance and ensures thread safety.
Returns:
BuildInfo: A struct containing detailed build information.