aboutsummaryrefslogtreecommitdiff
path: root/hotline
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2025-07-01 16:03:57 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2025-07-01 16:03:57 -0700
commit262f66351484369fa65c2e23df81ef682ea06d89 (patch)
tree97c2d135531b20b7b6a986fdba69e386412bbfd5 /hotline
parenta9c6485fb00dbf2e4b55351c1ae74d4eaca3eec9 (diff)
Add documentation and comprehensive test coverage for AccountManager
- Add GoDoc comments to AccountManager interface and all YAMLAccountManager methods - Add complete table-driven test coverage for Create, Update, Get, and List methods - Tests follow project conventions with proper error handling and temporary directories - All tests pass with comprehensive verification of both memory state and file operations
Diffstat (limited to 'hotline')
-rw-r--r--hotline/account_manager.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/hotline/account_manager.go b/hotline/account_manager.go
index 03621df..52c24f8 100644
--- a/hotline/account_manager.go
+++ b/hotline/account_manager.go
@@ -1,5 +1,7 @@
package hotline
+// AccountManager provides an interface for managing user accounts,
+// including creation, retrieval, updates, and deletion operations.
type AccountManager interface {
Create(account Account) error
Update(account Account, newLogin string) error