Browse Source

Add some comments

pull/8/head
Daniel Martí 11 years ago
parent
commit
ca00adb156
  1. 3
      fdroidcl.go

3
fdroidcl.go

@ -17,10 +17,12 @@ import (
"strings"
)
// Repo is an F-Droid repository holding apps and apks
type Repo struct {
Apps []App `xml:"application"`
}
// App is an Android application
type App struct {
Name string `xml:"name"`
ID string `xml:"id"`
@ -37,6 +39,7 @@ type App struct {
CurApk *Apk
}
// Apk is an Android package
type Apk struct {
VName string `xml:"version"`
VCode uint `xml:"versioncode"`

Loading…
Cancel
Save