From 132f201fa7be12ccbbac9616aab41b99beb2aafb Mon Sep 17 00:00:00 2001 From: s441433 Date: Fri, 28 Dec 2018 14:54:01 +0100 Subject: [PATCH] Update main.go --- main.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 0bdd5bd..4784c2b 100644 --- a/main.go +++ b/main.go @@ -29,9 +29,12 @@ Here: r.ParseForm() fmt.Println("username:", r.Form["username"]) fmt.Println("password:", r.Form["password"]) - if len(r.Form["username"][0]) == 0 { - goto Here - } + //if len(r.Form["username"][0]) == 0 { + // goto Here + //} + //if len(r.Form["password"][0]) == 0 { + // goto Here + //} } username := r.Form["username"] password := r.Form["password"]