Explorar o código

refactor: add comment for exported structs

rigormorrtiss %!s(int64=4) %!d(string=hai) anos
pai
achega
7b1cb548ac
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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"`