From 95dbef5000cf4ca160877481d74482c5df15386f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 19 Jul 2015 16:23:49 -0700 Subject: [PATCH] Make extra fields be ignored in xml --- index.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.go b/index.go index 653b9f5..2d881cc 100644 --- a/index.go +++ b/index.go @@ -47,7 +47,7 @@ type App struct { Apks []Apk `xml:"package"` CVName string `xml:"marketversion"` CVCode int `xml:"marketvercode"` - CurApk *Apk + CurApk *Apk `xml:"-"` } type IconDensity uint @@ -197,7 +197,7 @@ type Apk struct { Perms CommaList `xml:"permissions"` Feats CommaList `xml:"features"` Hash HexHash `xml:"hash"` - Repo *Repo + Repo *Repo `xml:"-"` } func (a *Apk) URL() string {