diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-05-14 03:19:26 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-05-14 03:19:26 -0400 |
commit | 1dcdbca485394818381549a98b7d4c809842526c (patch) | |
tree | 32b8f46cd8758d1b3fabcad69e57326c8d251b2a /registry/index.go | |
parent | 2492014051e5cd4c37287a09639d18f85e1349dc (diff) | |
download | getwtxt-1dcdbca485394818381549a98b7d4c809842526c.tar.gz |
exported Data struct fields
Diffstat (limited to 'registry/index.go')
-rw-r--r-- | registry/index.go | 2 |
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() } |