Skip to content

Commit

Permalink
更换项目名称
Browse files Browse the repository at this point in the history
  • Loading branch information
bajins committed Sep 26, 2019
1 parent 5db8d6f commit ea48489
Show file tree
Hide file tree
Showing 18 changed files with 26 additions and 26 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# key-gin
# tool-gin

> 基于go-gin框架生成激活key项目
Expand All @@ -7,17 +7,17 @@

## 使用

### [releases](https://github.com/woytu/key-gin/releases)下载解压并运行
### [releases](https://github.com/woytu/tool-gin/releases)下载解压并运行

### 必须安装`Chrome`

```bash
# Windows
# 双击key-gin-windows.exe根据默认端口8000运行
# 双击tool-gin-windows.exe根据默认端口8000运行
# 或者在cmd、power shell中
key-gin-windows.exe
tool-gin-windows.exe


# Linux
nohup ./key-gin_linux -p 5000 >/dev/null 2>index.log &
nohup ./tool-gin_linux_amd64 -p 5000 >/dev/null 2>&1 &
```
6 changes: 3 additions & 3 deletions controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import (
"github.com/gin-gonic/gin"
log "github.com/sirupsen/logrus"
"io"
"key-gin/reptile"
"key-gin/result"
"key-gin/utils"
"net/http"
"os"
"path"
"runtime"
"tool-gin/reptile"
"tool-gin/result"
"tool-gin/utils"
)

// 首页
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module key-gin
module tool-gin

go 1.12

Expand Down
2 changes: 1 addition & 1 deletion pyutils/py_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pyutils

import (
"key-gin/utils"
"runtime"
"testing"
"tool-gin/utils"
)

//test测试
Expand Down
4 changes: 2 additions & 2 deletions reptile/Netsarang.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @File: Netsarang.go
* @Version: 1.0.0
* @Time: 2019/9/19 11:03
* @Project: key-gin
* @Project: tool-gin
* @Package:
* @Software: GoLand
*/
Expand All @@ -19,10 +19,10 @@ import (
"github.com/PuerkitoBio/goquery"
"github.com/chromedp/cdproto/page"
"github.com/chromedp/chromedp"
"key-gin/utils"
"log"
"strings"
"time"
"tool-gin/utils"
)

func SendMail(mail, product string) error {
Expand Down
2 changes: 1 addition & 1 deletion reptile/chromedp.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @File: chromedp.go
* @Version: 1.0.0
* @Time: 2019/9/19 9:31
* @Project: key-gin
* @Project: tool-gin
* @Package:
* @Software: GoLand
*/
Expand Down
4 changes: 2 additions & 2 deletions reptile/mail.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
* @File: mail.go
* @Version: 1.0.0
* @Time: 2019/9/16 11:36
* @Project: key-gin
* @Project: tool-gin
* @Package:
* @Software: GoLand
*/
package reptile

import (
"key-gin/utils"
"math"
"time"
"tool-gin/utils"
)

// 获取邮箱号后缀
Expand Down
2 changes: 1 addition & 1 deletion reptile/reptile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @File: reptile_test.go
* @Version: 1.0.0
* @Time: 2019/9/19 11:13
* @Project: key-gin
* @Project: tool-gin
* @Package:
* @Software: GoLand
*/
Expand Down
2 changes: 1 addition & 1 deletion static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @File: index.js
* @Version: 1.0.0
* @Time: 2019/9/12 11:29
* @Project: key-gin
* @Project: tool-gin
* @Package:
* @Software: GoLand
*/
Expand Down
2 changes: 1 addition & 1 deletion static/js/utils/ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @File: ajax.js
* @Version: 1.0.0
* @Time: 2019/9/12 13:01
* @Project: key-gin
* @Project: tool-gin
* @Package:
* @Software: GoLand
*/
Expand Down
2 changes: 1 addition & 1 deletion static/js/utils/array.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @File: array.js
* @Version: 1.0.0
* @Time: 2019/9/15 20:01
* @Project: key-gin
* @Project: tool-gin
* @Package:
* @Software: GoLand
*/
Expand Down
2 changes: 1 addition & 1 deletion static/js/utils/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @File: http.js
* @Version: 1.0.0
* @Time: 2019/9/12 11:29
* @Project: key-gin
* @Project: tool-gin
* @Package:
* @Software: GoLand
*/
Expand Down
2 changes: 1 addition & 1 deletion static/js/utils/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @File: log.js
* @Version: 1.0.0
* @Time: 2019/9/15 20:26
* @Project: key-gin
* @Project: tool-gin
* @Package:
* @Software: GoLand
*/
Expand Down
2 changes: 1 addition & 1 deletion static/js/utils/string.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @File: string.js
* @Version: 1.0.0
* @Time: 2019/9/15 20:03
* @Project: key-gin
* @Project: tool-gin
* @Package:
* @Software: GoLand
*/
Expand Down
2 changes: 1 addition & 1 deletion static/js/utils/time.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @File: time.js
* @Version: 1.0.0
* @Time: 2019/9/15 20:11
* @Project: key-gin
* @Project: tool-gin
* @Package:
* @Software: GoLand
*/
Expand Down
2 changes: 1 addition & 1 deletion static/js/utils/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @File: util.js
* @Version: 1.0.0
* @Time: 2019/9/15 20:11
* @Project: key-gin
* @Project: tool-gin
* @Package:
* @Software: GoLand
*/
Expand Down
2 changes: 1 addition & 1 deletion key-gin.go → tool-gin.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package main
import (
"flag"
"github.com/gin-gonic/gin"
"key-gin/utils"
"net/http"
"strings"
"tool-gin/utils"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion utils/array.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @File: array.go
* @Version: 1.0.0
* @Time: 2019/9/25 10:26
* @Project: key-gin
* @Project: tool-gin
* @Package:
* @Software: GoLand
*/
Expand Down

0 comments on commit ea48489

Please sign in to comment.