From 1dcdbca485394818381549a98b7d4c809842526c Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Tue, 14 May 2019 03:19:26 -0400 Subject: exported Data struct fields --- registry/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'registry/index.go') 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() } -- cgit 1.4.1-2-gfad0