File tree Expand file tree Collapse file tree 18 files changed +26
-26
lines changed Expand file tree Collapse file tree 18 files changed +26
-26
lines changed Original file line number Diff line number Diff line change 1- # key -gin
1+ # tool -gin
22
33> 基于go-gin框架生成激活key项目
44
77
88## 使用
99
10- ### 到[ releases] ( https://github.com/woytu/key -gin/releases ) 下载解压并运行
10+ ### 到[ releases] ( https://github.com/woytu/tool -gin/releases ) 下载解压并运行
1111
1212### 必须安装` Chrome `
1313
1414``` bash
1515# Windows
16- # 双击key -gin-windows.exe根据默认端口8000运行
16+ # 双击tool -gin-windows.exe根据默认端口8000运行
1717# 或者在cmd、power shell中
18- key -gin-windows.exe
18+ tool -gin-windows.exe
1919
2020
2121# Linux
22- nohup ./key-gin_linux -p 5000 > /dev/null 2> index.log &
22+ nohup ./tool-gin_linux_amd64 -p 5000 > /dev/null 2>&1 &
2323```
Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ import (
55 "github.com/gin-gonic/gin"
66 log "github.com/sirupsen/logrus"
77 "io"
8- "key-gin/reptile"
9- "key-gin/result"
10- "key-gin/utils"
118 "net/http"
129 "os"
1310 "path"
1411 "runtime"
12+ "tool-gin/reptile"
13+ "tool-gin/result"
14+ "tool-gin/utils"
1515)
1616
1717// 首页
Original file line number Diff line number Diff line change 1- module key -gin
1+ module tool -gin
22
33go 1.12
44
Original file line number Diff line number Diff line change 11package pyutils
22
33import (
4- "key-gin/utils"
54 "runtime"
65 "testing"
6+ "tool-gin/utils"
77)
88
99//test测试
Original file line number Diff line number Diff line change 55 * @File: Netsarang.go
66 * @Version: 1.0.0
77 * @Time: 2019/9/19 11:03
8- * @Project: key -gin
8+ * @Project: tool -gin
99 * @Package:
1010 * @Software: GoLand
1111 */
@@ -19,10 +19,10 @@ import (
1919 "github.com/PuerkitoBio/goquery"
2020 "github.com/chromedp/cdproto/page"
2121 "github.com/chromedp/chromedp"
22- "key-gin/utils"
2322 "log"
2423 "strings"
2524 "time"
25+ "tool-gin/utils"
2626)
2727
2828func SendMail (mail , product string ) error {
Original file line number Diff line number Diff line change 55 * @File: chromedp.go
66 * @Version: 1.0.0
77 * @Time: 2019/9/19 9:31
8- * @Project: key -gin
8+ * @Project: tool -gin
99 * @Package:
1010 * @Software: GoLand
1111 */
Original file line number Diff line number Diff line change 55 * @File: mail.go
66 * @Version: 1.0.0
77 * @Time: 2019/9/16 11:36
8- * @Project: key -gin
8+ * @Project: tool -gin
99 * @Package:
1010 * @Software: GoLand
1111 */
1212package reptile
1313
1414import (
15- "key-gin/utils"
1615 "math"
1716 "time"
17+ "tool-gin/utils"
1818)
1919
2020// 获取邮箱号后缀
Original file line number Diff line number Diff line change 55 * @File: reptile_test.go
66 * @Version: 1.0.0
77 * @Time: 2019/9/19 11:13
8- * @Project: key -gin
8+ * @Project: tool -gin
99 * @Package:
1010 * @Software: GoLand
1111 */
Original file line number Diff line number Diff line change 44 * @File : index.js
55 * @Version : 1.0.0
66 * @Time : 2019/9/12 11:29
7- * @Project : key -gin
7+ * @Project : tool -gin
88 * @Package :
99 * @Software : GoLand
1010 */
Original file line number Diff line number Diff line change 55 * @File : ajax.js
66 * @Version : 1.0.0
77 * @Time : 2019/9/12 13:01
8- * @Project : key -gin
8+ * @Project : tool -gin
99 * @Package :
1010 * @Software : GoLand
1111 */
You can’t perform that action at this time.
0 commit comments