Comments (3)
I just tried to reproduce this issue and failed. Could you verify whether this is still a problem for you with the latest gohack master, please?
I tried this:
% cat main.go
package main
import _ "github.com/labstack/echo"
func main() {
}
% go install
go: finding github.com/labstack/echo v3.2.1+incompatible
go: downloading github.com/labstack/echo v3.2.1+incompatible
go: finding golang.org/x/crypto/acme/autocert latest
go: finding golang.org/x/crypto/acme latest
go: finding golang.org/x/crypto latest
go: finding github.com/labstack/gommon/color latest
go: finding github.com/labstack/gommon/log latest
go: finding github.com/labstack/gommon v0.2.7
go: downloading github.com/labstack/gommon v0.2.7
go: finding github.com/valyala/fasttemplate latest
go: downloading github.com/valyala/fasttemplate v0.0.0-20170224212429-dcecefd839c4
go: finding github.com/valyala/bytebufferpool v1.0.0
go: downloading github.com/valyala/bytebufferpool v1.0.0
% gohack get github.com/labstack/echo
github.com/labstack/echo => /home/rog/gohack/github.com/labstack/echo
% cat go.mod
module github.com/rogpeppe/test2
require (
github.com/labstack/echo v3.2.1+incompatible
github.com/labstack/gommon v0.2.7 // indirect
github.com/mattn/go-colorable v0.0.9 // indirect
github.com/mattn/go-isatty v0.0.4 // indirect
github.com/rogpeppe/test2/submod v0.0.0-20180818191235-66d0476
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v0.0.0-20170224212429-dcecefd839c4 // indirect
golang.org/x/crypto v0.0.0-20181001203147-e3636079e1a4 // indirect
)
replace github.com/labstack/echo => /home/rog/gohack/github.com/labstack/echo
from gohack.
Yes, I think this issue has been fixed, thanks.
Before update gohack:
$ gohack get github.com/labstack/echo
module "get" does not appear to be in use
creating github.com/labstack/[email protected]+incompatible
cannot update VCS dir for github.com/labstack/echo: error: pathspec 'v3.2.1+incompatible' did not match any file(s) known to git.
all modules failed; not replacing anything
After I update gohack to the latest master
$ go get -u github.com/rogpeppe/gohack@master
$ gohack get github.com/labstack/echo
github.com/labstack/echo => /home/wangyun/gohack/github.com/labstack/echo
$ cat go.mod
module testgohack
require (
github.com/kr/pty v1.1.3 // indirect
github.com/labstack/echo v3.2.1+incompatible
github.com/labstack/gommon v0.2.7 // indirect
github.com/mattn/go-colorable v0.0.9 // indirect
github.com/mattn/go-isatty v0.0.4 // indirect
github.com/rogpeppe/gohack v0.0.0-20181005082049-9c9664a5b5fe // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v0.0.0-20170224212429-dcecefd839c4 // indirect
golang.org/x/crypto v0.0.0-20181001203147-e3636079e1a4 // indirect
golang.org/x/tools v0.0.0-20181004163742-59602fdee893 // indirect
)
replace github.com/labstack/echo => /home/wangyun/gohack/github.com/labstack/echo
from gohack.
thanks for the info.
from gohack.
Related Issues (20)
- getting permission denied error HOT 3
- implement undo -rm
- gohack get -vcs failed with incompatible pathspec HOT 1
- gohack does not allow relative directories in GOHACK env var. HOT 2
- Ran gohack get github.com/user/somerepo and it is missing the .git directory HOT 1
- bitbucket.org issues
- cannot undo if directory has been removed
- README: perhaps briefly explain how to work with a fork, including pushing a change to the fork?
- Use existing dependency code source from the GOPATH HOT 4
- Idea: flag for "fork" remote HOT 2
- proposal: add command to determine if commit is ancestor of module version
- add 'gohack promote' or 'gohack undo -get' HOT 2
- add 'gohack list' or shell completion support HOT 4
- accept package path in 'gohack get' HOT 2
- gohack redo
- gohack undo leaves trailing newlines HOT 3
- cannot get module info HOT 4
- Imply module name from $PWD HOT 5
- support linked file in gohack directory HOT 1
- supporting workspaces? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gohack.