code: func CompareVersion(version interface{}) int {
  	return compareVersionsWithSuffix(CurrentVersion.Number, CurrentVersion.PatchLevel, CurrentVersion.Suffix, version)
  }
docs: // CompareVersion compares the given version string or number against the
  // running Hugo version.
  // It returns -1 if the given version is less than, 0 if equal and 1 if greater than
  // the running version.