Remove field tags from config struct for consistency (#51)
This commit is contained in:
parent
8dad4deec0
commit
5c64b0fb8b
1 changed files with 6 additions and 6 deletions
12
config.go
12
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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue