diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-16 03:55:40 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-16 03:55:40 +0200 |
| commit | 35f1097f473e51be82f68e93ea2db48dd1c98519 (patch) | |
| tree | 1b0a316caa9bbbbfab20b6665b424f356f411ac2 /internal/appconfig/config_validate.go | |
| parent | 93dfe3798e03e74766b229418cde364a5ef29ae9 (diff) | |
Fix mixed pointer/value receivers on appconfig.App
Change all value receivers on App to pointer receivers for consistency.
Update callers that pass App values to pass pointers where needed for
the actionConfig interface.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/appconfig/config_validate.go')
| -rw-r--r-- | internal/appconfig/config_validate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/appconfig/config_validate.go b/internal/appconfig/config_validate.go index f5e698f..19cfcd0 100644 --- a/internal/appconfig/config_validate.go +++ b/internal/appconfig/config_validate.go @@ -6,7 +6,7 @@ import ( ) // Validate checks custom actions and tmux settings for duplicates and consistency. -func (a App) Validate() error { +func (a *App) Validate() error { if err := validateCustomActions(a.CustomActions); err != nil { return err } |
