Browse Source

Add SrcURL() to Apk

pull/8/head
Daniel Martí 11 years ago
parent
commit
0022cba4df
  1. 4
      index.go

4
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) }

Loading…
Cancel
Save