Git Product home page Git Product logo

Comments (3)

rogpeppe avatar rogpeppe commented on August 18, 2024

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.

wangyun avatar wangyun commented on August 18, 2024

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.

rogpeppe avatar rogpeppe commented on August 18, 2024

thanks for the info.

from gohack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.