Documentation ¶ Index ¶ func Compare(packageName, v1Str, v2Str string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Compare ¶ func Compare(packageName, v1Str, v2Str string) (string, error) Compare will compare semvar of 2 modules and return the higher version The funcion supports following type of versions: v1.3.10 v0.9.4-hf.1 v0.9.1-0.20190603184501-d845e1d612f8 v0.9.0-rc.1.0.20190509204259-4246269fb68e Types ¶ This section is empty. Source Files ¶ View all Source files semvar.go Click to show internal directories. Click to hide internal directories.