mod: added support for version constraint when fetching a remote version

Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
Sam Alba
2021-10-21 17:50:18 -07:00
parent 428aca1c03
commit cee8c91e50
7 changed files with 74 additions and 49 deletions

View File

@@ -74,7 +74,7 @@ func TestListTags(t *testing.T) {
t.Fatal(err)
}
tags, err := r.listTags()
tags, err := r.listTagVersions("")
if err != nil {
t.Error(err)
}