소스 검색

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

ayntgl 4 년 전
부모
커밋
5c64b0fb8b
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  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 {