mirror of
https://github.com/github/codeql.git
synced 2026-04-20 22:44:52 +02:00
Autoformat test.go
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user