refactor: add comment for exported structs
This commit is contained in:
parent
9bb8dce3d0
commit
7b1cb548ac
1 changed files with 2 additions and 0 deletions
|
|
@ -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"`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue