Sfoglia il codice sorgente

refactor: add comment for exported structs

rigormorrtiss 4 anni fa
parent
commit
7b1cb548ac
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      util/config.go

+ 2 - 0
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"`