summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2016-09-13 20:40:27 +0200
committerSilvan Jegen <s.jegen@gmail.com>2016-09-13 20:40:27 +0200
commit47289e62f0e29f969df85379644c99bfde1385a0 (patch)
treeeaee895d5bbbf619f30824dbcdcb01e12ee14063
parent4a0fcd9b9751c2999459d4c93db9a2a0ddb7fa66 (diff)
The struct is already called 'article'
-rw-r--r--goencxml.go2
1 files changed, 1 insertions, 1 deletions
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) {