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

This commit is contained in:
ayntgl 2021-09-20 20:04:18 +04:00 • committed by GitHub
parent 8dad4deec0
commit 5c64b0fb8b

View file

@ -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 {