Skip to content

Commit 7f21c0c

Browse files
author
cokeBeer
committed
fix format
1 parent aa2d445 commit 7f21c0c

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

ql/lib/semmle/go/frameworks/Beego.qll

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,31 +19,31 @@ module Beego {
1919
string v2modulePath() { result = "github.com/beego/beego/v2" }
2020

2121
/** Gets the path for the root package of beego. */
22-
string packagePath() {
23-
result = package(v1modulePath(), "")
24-
or
25-
result = package(v2modulePath(), "server/web")
22+
string packagePath() {
23+
result = package(v1modulePath(), "")
24+
or
25+
result = package(v2modulePath(), "server/web")
2626
}
2727

2828
/** Gets the path for the context package of beego. */
29-
string contextPackagePath() {
30-
result = package(v1modulePath(), "context")
31-
or
32-
result = package(v2modulePath(), "server/web/context")
29+
string contextPackagePath() {
30+
result = package(v1modulePath(), "context")
31+
or
32+
result = package(v2modulePath(), "server/web/context")
3333
}
3434

3535
/** Gets the path for the logs package of beego. */
36-
string logsPackagePath() {
37-
result = package(v1modulePath(), "logs")
36+
string logsPackagePath() {
37+
result = package(v1modulePath(), "logs")
3838
or
39-
result = package(v2modulePath(), "core/logs")
39+
result = package(v2modulePath(), "core/logs")
4040
}
4141

4242
/** Gets the path for the utils package of beego. */
43-
string utilsPackagePath() {
44-
result = package(v1modulePath(), "utils")
45-
or
46-
result = package(v2modulePath(), "core/utils")
43+
string utilsPackagePath() {
44+
result = package(v1modulePath(), "utils")
45+
or
46+
result = package(v2modulePath(), "core/utils")
4747
}
4848

4949
/**

0 commit comments

Comments
 (0)