Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadVersion ¶
ReadVersion takes a string path as an argument and returns a string in the format "path@version". It does this by reading the build info once (cached) and iterating through the Dependencies slice of the BuildInfo struct. If it finds a match for the given path, it will return a string with the path and version number joined by an '@' character. If no match is found, it will simply return the path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.