aboutsummaryrefslogtreecommitdiffstats
path: root/drive/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'drive/util.go')
-rw-r--r--drive/util.go11
1 files changed, 3 insertions, 8 deletions
diff --git a/drive/util.go b/drive/util.go
index 7ad0945..be01c80 100644
--- a/drive/util.go
+++ b/drive/util.go
@@ -9,14 +9,9 @@ import (
"time"
)
-type kv [2]string
-
-func (self kv) key() string {
- return self[0]
-}
-
-func (self kv) value() string {
- return self[1]
+type kv struct {
+ key string
+ value string
}
func formatList(a []string) string {