Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Revision ¶
func Revision() string
Revision returns the current VCS revision of the build. It reads the build information to extract the VCS revision and checks if the source code was modified.
Returns:
string - The VCS revision. If the source code was modified, "-dirty" is appended to the revision.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.