From 7b1cb548acb6a0d081f70b846479b0dd720165ec Mon Sep 17 00:00:00 2001 From: rigormorrtiss Date: Wed, 18 Aug 2021 22:20:14 +0400 Subject: [PATCH] refactor: add comment for exported structs --- util/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/config.go b/util/config.go index 943f222..539572b 100644 --- a/util/config.go +++ b/util/config.go @@ -5,12 +5,14 @@ import ( "os" ) +// Theme defines the theme for the application. type Theme struct { Background string `json:"background,omitempty"` Foreground string `json:"foreground,omitempty"` Borders bool `json:"borders,omitempty"` } +// Config consists for properties, such as theme, that may be customized by the user. type Config struct { GetMessagesLimit uint `json:"getMessagesLimit,omitempty"` Theme *Theme `json:"theme,omitempty"`