Autoformat test.go

This commit is contained in:
Chris Smowton
2022-10-06 14:08:56 +01:00
committed by GitHub
parent 4e161c867e
commit 812a5e5c74

View File

@@ -1,6 +1,7 @@
package test
import (
"encoding/json"
"github.com/astaxie/beego"
"github.com/astaxie/beego/context"
"github.com/astaxie/beego/logs"
@@ -9,7 +10,6 @@ import (
"mime/multipart"
"net/http"
"os"
"encoding/json"
)
type subBindMe struct {
@@ -318,4 +318,4 @@ func requestBodySourceTest(ctx *context.Context, c *beego.Controller) {
json.Unmarshal(ctx.Input.RequestBody, &dat)
untrusted := dat["filepath"].(string)
c.SaveToFile("someReceviedFile", untrusted)
}
}