From f6f50b620e7f4a4ba25f4cb24fc8ea52e2b97975 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Sat, 22 Oct 2016 02:15:44 -0700 Subject: adding initial support to edit and add admin users --- system/admin/admin.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/system/admin/admin.go b/system/admin/admin.go index 243af1f..4a72af0 100644 --- a/system/admin/admin.go +++ b/system/admin/admin.go @@ -5,7 +5,6 @@ package admin import ( "bytes" "encoding/json" - "fmt" "html/template" "net/http" @@ -293,6 +292,7 @@ func UsersList(req *http.Request) ([]byte, error) { ` @@ -347,8 +348,6 @@ func UsersList(req *http.Request) ([]byte, error) { } } - fmt.Println(usrs) - // make buffer to execute html into then pass buffer's bytes to Admin buf := &bytes.Buffer{} tmpl := template.Must(template.New("users").Parse(html + script)) -- cgit v1.2.3