Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
proposal: runtime, time: add API BuildTimestamp to report an application's build time #23175
Use build timestamp to distinguish different version of application binary is a common way in other languages.
runtime.BuildTimestamp defines a buildtimestamp value which will be written by linker(cmd/link).
time.BuildTime() converts runtime.BuildTimestamp() to time.Time.
It will be my pleasure that if go team can accept this feature in go repository.