diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-05-24 01:57:01 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-05-24 02:00:56 -0400 |
commit | 2053db46882ec55000def76814fdea6f0b58e6bb (patch) | |
tree | 5edab570bd8972f683b81c89ab8356d709287ee2 | |
parent | 1758d40738a5c50d1a1f9b7d386c11702eaddc23 (diff) | |
download | getwtxt-2053db46882ec55000def76814fdea6f0b58e6bb.tar.gz |
removed unnecessary type conversion
-rw-r--r-- | cache.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cache.go b/cache.go index 691eb06..4f6b90e 100644 --- a/cache.go +++ b/cache.go @@ -136,8 +136,8 @@ func pullDatabase() { val := string(iter.Value()) split := strings.Split(key, "*") - urls := string(split[0]) - field := string(split[1]) + urls := split[0] + field := split[1] if urls != "remote" { // Start with an empty Data struct. If |