fix gofmt error
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
d0490c187c
commit
6510e57758
7 changed files with 27 additions and 28 deletions
|
@ -94,7 +94,7 @@ func HTTP(ctx *context.Context) {
|
|||
ctx.HandleText(401, "reverse proxy login error, got error while running GetUserByName")
|
||||
return
|
||||
}
|
||||
}else{
|
||||
} else {
|
||||
authHead := ctx.Req.Header.Get("Authorization")
|
||||
if len(authHead) == 0 {
|
||||
ctx.Resp.Header().Set("WWW-Authenticate", "Basic realm=\".\"")
|
||||
|
|
|
@ -132,10 +132,10 @@ func Issues(ctx *context.Context) {
|
|||
}
|
||||
|
||||
var (
|
||||
assigneeID = ctx.QueryInt64("assignee")
|
||||
posterID int64
|
||||
mentionedID int64
|
||||
forceEmpty bool
|
||||
assigneeID = ctx.QueryInt64("assignee")
|
||||
posterID int64
|
||||
mentionedID int64
|
||||
forceEmpty bool
|
||||
)
|
||||
switch viewType {
|
||||
case "assigned":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue