In order to install 163-opencourse-download,I do the following steps:
1. My os is win7 64bit
2. install go language pass through the file go1.13.8.windows-amd64.msi download from the internet. All settings during installation are default.
3. Open the Internet
4. Execute command line:
go get github.com/zieckey/golang.org
5. Folder "C:\Go\src\golang.org" rename to "C:\Go\src\golang.org-bak"
6. copy the folder "C:\Users\Administrator\go\src\github.com\zieckey\golang.org" to "C:\Go\src\"
7. Execute command line:
C:\Go>go get -u github.com/Chyroc/163-opencourse-download
# github.com/Chyroc/163-opencourse-download
C:\Users\Administrator\go\src\github.com\Chyroc\163-opencourse-download\main.go:
23:9: invalid argument c.Args() (type cli.Args) for len
C:\Users\Administrator\go\src\github.com\Chyroc\163-opencourse-download\main.go:
29:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag
in array or slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer rec
eiver)
How to solve the above errors?
有疑问加站长微信联系(非本文作者)