summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-05-24 01:57:01 -0400
committerBen Morrison <ben@gbmor.dev>2019-05-24 02:00:56 -0400
commit2053db46882ec55000def76814fdea6f0b58e6bb (patch)
tree5edab570bd8972f683b81c89ab8356d709287ee2
parent1758d40738a5c50d1a1f9b7d386c11702eaddc23 (diff)
downloadgetwtxt-2053db46882ec55000def76814fdea6f0b58e6bb.tar.gz
removed unnecessary type conversion
-rw-r--r--cache.go4
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