Support with pms and gh releases

This commit is contained in:
2024-05-21 14:19:11 +02:00
parent 2f0d129aea
commit 1e5bc0a5e2
4 changed files with 228 additions and 71 deletions
+6 -6
View File
@@ -27,10 +27,10 @@ func showPackageInfo(packageName string) {
}
fmt.Printf("Package: %s\n", packageName)
for version, info := range pkgIndex.Versions {
fmt.Printf("Version: %s\n", version)
fmt.Printf(" Author: %s\n", info.Author)
fmt.Printf(" Description: %s\n", info.Description)
fmt.Println()
}
// for version, info := range pkgIndex.Versions {
// fmt.Printf("Version: %s\n", version)
// fmt.Printf(" Author: %s\n", info.Author)
// fmt.Printf(" Description: %s\n", info.Description)
// fmt.Println()
// }
}