summary refs log tree commit diff stats
path: root/registry/index.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-05-14 03:19:26 -0400
committerBen Morrison <ben@gbmor.dev>2019-05-14 03:19:26 -0400
commit1dcdbca485394818381549a98b7d4c809842526c (patch)
tree32b8f46cd8758d1b3fabcad69e57326c8d251b2a /registry/index.go
parent2492014051e5cd4c37287a09639d18f85e1349dc (diff)
downloadgetwtxt-1dcdbca485394818381549a98b7d4c809842526c.tar.gz
exported Data struct fields
Diffstat (limited to 'registry/index.go')
-rw-r--r--registry/index.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/index.go b/registry/index.go
index 4d82ebb..c3ea178 100644
--- a/registry/index.go
+++ b/registry/index.go
@@ -18,7 +18,7 @@ func (index UserIndex) AddUser(nick string, url string) {
 		log.Printf("Error formatting user add time as RFC3339: %v\n", err)
 	}
 	imutex.Lock()
-	index[url] = &Data{nick: nick, date: time.Now(), apidate: rfc3339date}
+	index[url] = &Data{Nick: nick, Date: time.Now(), APIdate: rfc3339date}
 	imutex.Unlock()
 }