From 5c64b0fb8b15107a16320fc3e18a3eff46d0270e Mon Sep 17 00:00:00 2001 From: ayntgl <90600421+ayntgl@users.noreply.github.com> Date: Mon, 20 Sep 2021 20:04:18 +0400 Subject: [PATCH] Remove field tags from config struct for consistency (#51) --- config.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config.go b/config.go index 12be8b1..d71e79e 100644 --- a/config.go +++ b/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 {