BuildContext returns goVersion, platform, buildUser and buildDate information.
()
| 99 | |
| 100 | // BuildContext returns goVersion, platform, buildUser and buildDate information. |
| 101 | func BuildContext() string { |
| 102 | return fmt.Sprintf("(go=%s, platform=%s, user=%s, date=%s, tags=%s)", GoVersion, GoOS+"/"+GoArch, BuildUser, BuildDate, GetTags()) |
| 103 | } |