From 47289e62f0e29f969df85379644c99bfde1385a0 Mon Sep 17 00:00:00 2001 From: Silvan Jegen Date: Tue, 13 Sep 2016 20:40:27 +0200 Subject: The struct is already called 'article' --- goencxml.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goencxml.go b/goencxml.go index cedbb9c..b4fb7cf 100644 --- a/goencxml.go +++ b/goencxml.go @@ -8,7 +8,7 @@ import ( ) type article struct { - Title string `xml:"article>front>article-meta>title-group>article-title"` + Title string `xml:"front>article-meta>title-group>article-title"` } func process(r *bufio.Reader) { -- cgit v1.2.3