Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1114eae

Browse files
committed
Merge pull request studygolang#10 from lewgun/master
qiniu/api ->qiniu/api.v6
2 parents 585ff63 + 1b08208 commit 1114eae

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

websites/code/studygolang/src/service/uploader.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
gio "io"
66

77
"config"
8-
"github.com/qiniu/api/conf"
9-
"github.com/qiniu/api/io"
10-
"github.com/qiniu/api/rs"
8+
"github.com/qiniu/api.v6/conf"
9+
"github.com/qiniu/api.v6/io"
10+
"github.com/qiniu/api.v6/rs"
1111
"logger"
1212
)
1313

websites/code/thirdparty/getpkg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ go get -u -v github.com/go-sql-driver/mysql
1414
go get -u -v github.com/studygolang/mux
1515
go get -u -v github.com/gorilla/sessions
1616
go get -u -v github.com/robfig/cron
17-
go get -u -v github.com/qiniu/api
17+
go get -u -v github.com/qiniu/api.v6
1818
go get -u -v github.com/dchest/captcha
1919

2020
cp /etc/hosts ~/hosts

websites/code/thirdparty/getpkg.bat

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ go get -u -v github.com/go-sql-driver/mysql
1515
go get -u -v github.com/studygolang/mux
1616
go get -u -v github.com/gorilla/sessions
1717
go get -u -v github.com/robfig/cron
18-
go get -u -v github.com/qiniu/api
1918
go get -u -v github.com/dchest/captcha
19+
go get -u -v github.com/andybalholm/cascadia
20+
go get -u -v github.com/qiniu/api.v6
2021

2122
if not exist "src/golang.org/x/text" (
2223
git clone https://github.com/golang/text src/golang.org/x/text
@@ -28,13 +29,13 @@ if not exist "src/golang.org/x/net" (
2829
)
2930
go install golang.org/x/net/...
3031

31-
go get -u -v github.com/andybalholm/cascadia
3232

33-
if not exist "github.com/PuerkitoBio/goquery" (
33+
if not exist "src/github.com/PuerkitoBio/goquery" (
3434
git clone https://github.com/PuerkitoBio/goquery src/github.com/PuerkitoBio/goquery
3535
)
3636
::go get -u -v github.com/PuerkitoBio/goquery
3737

38+
3839
set GOPATH=%OLDGOPATH%
3940

4041
:end

0 commit comments

Comments
 (0)