remove prints
This commit is contained in:
parent
9d5d8f4df2
commit
d9437d46e4
2 changed files with 0 additions and 7 deletions
|
|
@ -9,7 +9,6 @@ import (
|
|||
"os"
|
||||
"log"
|
||||
"io"
|
||||
"fmt"
|
||||
"mime"
|
||||
"strings"
|
||||
"path/filepath"
|
||||
|
|
@ -54,7 +53,6 @@ type NewFolder struct {
|
|||
func FolderListHandler(rw http.ResponseWriter, req *http.Request) {
|
||||
if req.Method == "GET" {
|
||||
list := db(req).ListFolders()
|
||||
fmt.Println(list)
|
||||
json.NewEncoder(rw).Encode(list)
|
||||
} else if req.Method == "POST" {
|
||||
var body NewFolder
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue