diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-09-24 02:06:54 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-09-24 02:06:54 -0700 |
commit | afe2ad4d1ead83b6d437fef57cc0feecaa5ac0ce (patch) | |
tree | 606e6e73fba227988b826503e66eddd333d9474a /system/admin/admin.go | |
parent | f2039ffbfb5a978ddcf671a099eb125bfd180fd4 (diff) |
creating JSON API server, initial version working
Diffstat (limited to 'system/admin/admin.go')
-rw-r--r-- | system/admin/admin.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/system/admin/admin.go b/system/admin/admin.go index 8febbf7..a4053ad 100644 --- a/system/admin/admin.go +++ b/system/admin/admin.go @@ -4,7 +4,6 @@ package admin import ( "bytes" - "fmt" "html/template" "github.com/nilslice/cms/content" @@ -55,8 +54,6 @@ func Admin(manager []byte) []byte { Subview: template.HTML(manager), } - fmt.Println(a.Types) - buf := &bytes.Buffer{} tmpl := template.Must(template.New("admin").Parse(adminHTML)) tmpl.Execute(buf, a) |