From 387f3210fa9a3771e6a38f5d241db54f99e86eda Mon Sep 17 00:00:00 2001
From: Farhan Khan <khanzf@gmail.com>
Date: Wed, 15 Dec 2021 19:38:58 -0500
Subject: [PATCH] No need to export Tag element

---
 fedilogue/retrieve.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fedilogue/retrieve.go b/fedilogue/retrieve.go
index 04f9220..6f97571 100644
--- a/fedilogue/retrieve.go
+++ b/fedilogue/retrieve.go
@@ -64,7 +64,7 @@ type PostJson struct {
 	Published    time.Time `json:"published"`
 	Source       string    `json:"source"`
 	Summary      string    `json:"summary"`
-	Tag	[]TagType	`json:"tag"`
+	tag	[]TagType	`json:"tag"`
 	To   []string `json:"to"`
 	Type string   `json:"type"`
 
@@ -150,7 +150,7 @@ func check_activity(uri string) {
 	activityjson.normalized = spaceReg.ReplaceAllString(activityjson.normalized, " ")
 
 	var hashtags []string
-	for _, tag := range activityjson.Tag {
+	for _, tag := range activityjson.tag {
 		if tag.Type == "Hashtag" {
 			hashtags = append(hashtags, strings.ToLower(tag.Name))
 		}