Skip to content

Commit a120e1e

Browse files
committed
style: reformat codebase
1 parent 7bd0cfc commit a120e1e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

graph/ent.resolvers.go

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/auth/http.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,8 @@ func Middleware(storage Storage) gin.HandlerFunc {
5252
}
5353
}
5454

55-
var (
56-
// ErrBadTokenFormat is returned when the Authorization header is not in the correct Bearer format.
57-
ErrBadTokenFormat = errors.New("bad token format")
58-
)
55+
// ErrBadTokenFormat is returned when the Authorization header is not in the correct Bearer format.
56+
var ErrBadTokenFormat = errors.New("bad token format")
5957

6058
// ExtractToken extracts the token from the Authorization header and returns the user information.
6159
//

0 commit comments

Comments
 (0)