From baf62cc66c2d7ea799c994c0448c006bda52bb65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Fri, 22 May 2015 20:57:03 +0200 Subject: [PATCH] Properly load repo details in an index --- index.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.go b/index.go index 9204fac..484affd 100644 --- a/index.go +++ b/index.go @@ -18,7 +18,6 @@ import ( ) type Index struct { - Apps []App `xml:"application"` Repo struct { Name string `xml:"name,attr"` PubKey string `xml:"pubkey,attr"` @@ -27,7 +26,8 @@ type Index struct { Version int `xml:"version,attr"` MaxAge int `xml:"maxage,attr"` Description string `xml:"description"` - } `repo` + } `xml:"repo"` + Apps []App `xml:"application"` } type CommaList []string