Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Commit 4ba2741

Browse files
committed
修改打包配置文件
1 parent 5c57290 commit 4ba2741

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

.goreleaser.yml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ builds:
1010
- windows
1111
flags:
1212
- -tags=release
13+
main: ./
1314
archives:
1415
- replacements:
1516
linux: Linux

controllers/login_controller.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ package controllers
77

88
import (
99
"encoding/json"
10-
"fmt"
1110
"goredismanager/global"
1211
"net/http"
1312

@@ -26,7 +25,7 @@ func (con *loginController) ShowLogin(c *gin.Context) {
2625
}
2726

2827
func (con *loginController) Login(c *gin.Context) {
29-
28+
3029
username := c.PostForm("account")
3130
password := c.PostForm("password")
3231

release.go

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* @Description:
3-
* @Author: gphper
4-
* @Date: 2021-11-16 20:22:31
5-
*/
61
// +build !release
72

83
package main

0 commit comments

Comments
 (0)