From 33586e8a268a04058d3381740a284315da010e77 Mon Sep 17 00:00:00 2001 From: ngn Date: Wed, 6 Mar 2024 21:59:57 +0300 Subject: [PATCH] fix goto placement --- cmds/add.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds/add.go b/cmds/add.go index 9f21342..139cc98 100644 --- a/cmds/add.go +++ b/cmds/add.go @@ -29,7 +29,6 @@ func Add() bool { master := GetMaster() -USER: err := config.LoadEntries(master) if err != nil { lib.ErrorMsg("Failed to load entries", err) @@ -41,6 +40,7 @@ USER: return false } +USER: entry.User = lib.Input("Enter a username") if entry.User == "" { lib.Error("Username cannot be empty")