Skip to content

Commit 812a5e5

Browse files
authored
Autoformat test.go
1 parent 4e161c8 commit 812a5e5

File tree

1 file changed

+2
-2
lines changed
  • go/ql/test/library-tests/semmle/go/frameworks/Beego

1 file changed

+2
-2
lines changed

go/ql/test/library-tests/semmle/go/frameworks/Beego/test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package test
22

33
import (
4+
"encoding/json"
45
"github.com/astaxie/beego"
56
"github.com/astaxie/beego/context"
67
"github.com/astaxie/beego/logs"
@@ -9,7 +10,6 @@ import (
910
"mime/multipart"
1011
"net/http"
1112
"os"
12-
"encoding/json"
1313
)
1414

1515
type subBindMe struct {
@@ -318,4 +318,4 @@ func requestBodySourceTest(ctx *context.Context, c *beego.Controller) {
318318
json.Unmarshal(ctx.Input.RequestBody, &dat)
319319
untrusted := dat["filepath"].(string)
320320
c.SaveToFile("someReceviedFile", untrusted)
321-
}
321+
}

0 commit comments

Comments
 (0)