Revision returns the full Git hash of the build.
()
| 149 | |
| 150 | // Revision returns the full Git hash of the build. |
| 151 | func Revision() (string, bool) { |
| 152 | return find("vcs.revision") |
| 153 | } |
| 154 | |
| 155 | // find panics if a setting with the specific key was not |
| 156 | // found in the build info. |
no test coverage detected