-
Notifications
You must be signed in to change notification settings - Fork 656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
有编译步骤吗? #179
Comments
如果报错,请把错误贴上来 |
$ git clone -b v2.0.0rc1-caddy https://github.com/coyove/goflyway.git
Cloning into 'goflyway'...
remote: Enumerating objects: 26, done.
remote: Counting objects: 100% (26/26), done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 3058 (delta 9), reused 22 (delta 6), pack-reused 3032
Receiving objects: 100% (3058/3058), 10.88 MiB | 1.62 MiB/s, done.
Resolving deltas: 100% (1837/1837), done.
Note: switching to 'f59078b731308edc4c305d6a8e1a43338f623f7f'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
xspee@DESKTOP-7I2R7FR MINGW64 ~/Desktop
$ cd goflyway/
xspee@DESKTOP-7I2R7FR MINGW64 ~/Desktop/goflyway ((v2.0.0rc1-caddy))
$ ls
chinalist.txt goflyway.conf makefile proxy/ script/
cmd/ LICENSE pkg/ readme.md test.acl
xspee@DESKTOP-7I2R7FR MINGW64 ~/Desktop/goflyway ((v2.0.0rc1-caddy))
$ cd cmd/
xspee@DESKTOP-7I2R7FR MINGW64 ~/Desktop/goflyway/cmd ((v2.0.0rc1-caddy))
$ cd goflyway/
xspee@DESKTOP-7I2R7FR MINGW64 ~/Desktop/goflyway/cmd/goflyway ((v2.0.0rc1-caddy))
$ go build
main.go:16:2: cannot find package "github.com/coyove/common/config" in any of:
D:\Software\Go\src\github.com\coyove\common\config (from $GOROOT)
C:\Users\xspee\go\src\github.com\coyove\common\config (from $GOPATH)
main.go:17:2: cannot find package "github.com/coyove/common/logg" in any of:
D:\Software\Go\src\github.com\coyove\common\logg (from $GOROOT)
C:\Users\xspee\go\src\github.com\coyove\common\logg (from $GOPATH)
main.go:18:2: cannot find package "github.com/coyove/common/lru" in any of:
D:\Software\Go\src\github.com\coyove\common\lru (from $GOROOT)
C:\Users\xspee\go\src\github.com\coyove\common\lru (from $GOPATH)
main.go:19:2: cannot find package "github.com/coyove/goflyway/cmd/goflyway/lib" in any of:
D:\Software\Go\src\github.com\coyove\goflyway\cmd\goflyway\lib (from $GOROOT)
C:\Users\xspee\go\src\github.com\coyove\goflyway\cmd\goflyway\lib (from $GOPATH)
main.go:20:2: cannot find package "github.com/coyove/goflyway/pkg/aclrouter" in any of:
D:\Software\Go\src\github.com\coyove\goflyway\pkg\aclrouter (from $GOROOT)
C:\Users\xspee\go\src\github.com\coyove\goflyway\pkg\aclrouter (from $GOPATH)
main.go:21:2: cannot find package "github.com/coyove/goflyway/proxy" in any of:
D:\Software\Go\src\github.com\coyove\goflyway\proxy (from $GOROOT)
C:\Users\xspee\go\src\github.com\coyove\goflyway\proxy (from $GOPATH)
main.go:22:2: cannot find package "golang.org/x/crypto/acme/autocert" in any of:
D:\Software\Go\src\golang.org\x\crypto\acme\autocert (from $GOROOT)
C:\Users\xspee\go\src\golang.org\x\crypto\acme\autocert (from $GOPATH)
xspee@DESKTOP-7I2R7FR MINGW64 ~/Desktop/goflyway/cmd/goflyway ((v2.0.0rc1-caddy))
@coyove |
go get ./... 就可以了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
有编译步骤吗?
直接Git clone之后,go build 报错
The text was updated successfully, but these errors were encountered: