summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-07-09 18:21:07 -0500
committerJeff Carr <[email protected]>2025-07-09 23:24:06 -0500
commitb6a7af773d3216346d08d23b3d960d5c01048d9b (patch)
tree7548f0001ed11683b0cb85bfe28405a58bb6deaf
parentbd05270a8348ded0d48199a294797d445ba3fcb8 (diff)
exposed for forged
-rw-r--r--goList.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/goList.go b/goList.go
index 583502a..fec51cb 100644
--- a/goList.go
+++ b/goList.go
@@ -84,6 +84,10 @@ type Origin struct {
// A Tags describes the available tags in a code repository.
+func RunGoList(url string) (string, error) {
+ return runGoList(url)
+}
+
func runGoList(url string) (string, error) {
ver, err := getLatestVersion(url)
if err != nil {