diff --git a/index.go b/index.go index d87dcc6..3d16d02 100644 --- a/index.go +++ b/index.go @@ -162,6 +162,10 @@ func (a *Apk) URL() string { return fmt.Sprintf("%s/%s", a.Repo.URL, a.ApkName) } +func (a *Apk) SrcURL() string { + return fmt.Sprintf("%s/%s", a.Repo.URL, a.SrcName) +} + type appList []App func (al appList) Len() int { return len(al) }