From 262f66351484369fa65c2e23df81ef682ea06d89 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Tue, 1 Jul 2025 16:03:57 -0700 Subject: 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 --- hotline/account_manager.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hotline') 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 -- cgit