Bläddra i källkod

Remove field tags from config struct for consistency (#51)

ayntgl 4 år sedan
förälder
incheckning
5c64b0fb8b
1 ändrade filer med 6 tillägg och 6 borttagningar
  1. 6 6
      config.go

+ 6 - 6
config.go

@@ -8,12 +8,12 @@ import (
 )
 
 type config struct {
-	Token            string      `json:"token"`
-	Mouse            bool        `json:"mouse"`
-	Notifications    bool        `json:"notifications"`
-	UserAgent        string      `json:"userAgent"`
-	GetMessagesLimit int         `json:"getMessagesLimit"`
-	Theme            tview.Theme `json:"theme"`
+	Token            string
+	Mouse            bool
+	Notifications    bool
+	UserAgent        string
+	GetMessagesLimit int
+	Theme            tview.Theme
 }
 
 func loadConfig() *config {