From d5aa526d75bf31098ab1c79001540cbc78dee465 Mon Sep 17 00:00:00 2001 From: Huray-hub Date: Wed, 28 Feb 2024 14:02:16 +0200 Subject: [PATCH] function rename --- auth/credentials.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/credentials.go b/auth/credentials.go index 24aa008..2e45b3d 100644 --- a/auth/credentials.go +++ b/auth/credentials.go @@ -15,8 +15,8 @@ func (crd Credentials) PasswordEmpty() bool { return crd.Password == "" } -// ClearCredentials method clears both Username & Password values -func (crd *Credentials) ClearCredentials() { +// Clear method empties both Username & Password fields +func (crd *Credentials) Clear() { crd.Username = "" crd.Password = "" }