Rename project

This commit is contained in:
liwei committed 2019-05-05 01:35:34 +08:00
1 parent 66a4b022f2
commit 808035094c
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -1,2 +1,2 @@
## gee-download
## gopeed
A fast download client,support HTTP&P2P.
+1 -1
View File
@@ -1,3 +1,3 @@
module gee-download
module gopeed
go 1.12
+4 -4
View File
@@ -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{
@@ -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)
}