()
| 12 | Date = "unknown" |
| 13 | ) |
| 14 | |
| 15 | // fromBuildInfo records whether Version was derived from debug.ReadBuildInfo |
| 16 | // rather than stamped via ldflags. Build-info versions come from `go install` |
| 17 | // (stable tags and pseudo-versions alike) and cannot be self-updated in place. |
| 18 | var fromBuildInfo bool |
| 19 | |
| 20 | func init() { |
| 21 | info, ok := debug.ReadBuildInfo() |
| 22 | Version, fromBuildInfo = classify(Version, info, ok) |
| 23 | } |
nothing calls this directly
no outgoing calls
no test coverage detected