Skip to content

Commit

Permalink
Rename project
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyWie committed May 4, 2019
1 parent 66a4b02 commit 8080350
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
## gee-download
## gopeed
A fast download client,support HTTP&P2P.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module gee-download
module gopeed

go 1.12
8 changes: 4 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package main

import (
"fmt"
"gee-download/down"
"gopeed/down"
)

func main() {
httpRequest, _ := down.BuildHTTPRequest(&down.Request{
request := &down.Request{
Method: "get",
URL: "http://github.com/proxyee-down-org/proxyee-down/releases/download/3.4/proxyee-down-main.jar",
Header: map[string]string{
Expand All @@ -17,8 +17,8 @@ func main() {
"Accept-Encoding": "gzip, deflate, br",
"Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8",
},
})
got, _ := down.Resolve(*httpRequest)
}
got, _ := down.Resolve(request)
fmt.Println(got)
// webview.Open("Minimal webview example", "https://www.baidu.com", 800, 600, true)
}

0 comments on commit 8080350

Please sign in to comment.