Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
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.