Git Product home page Git Product logo

Comments (3)

ziehmon avatar ziehmon commented on July 16, 2024 1

I can confirm this issue. Reproduction can be done as following:

First, get the latest V2-Version: go get -v github.com/Ullaakut/nmap/v2. Then, in your $GOPATH, search for the nmap.go file and grep for that particular missing method: cat '/home/speters/.gvm/pkgsets/go1.14/global/pkg/mod/github.com/!ullaakut/nmap/[email protected]/nmap.go' | grep "RunWithProgress". You'll see that this method is not found.

Then, clean the cache, set $GOPROXY to direct to avoid using proxy.golang.org, and then get the latest V2-Version again: go clean -modcache -cache && export GOPROXY=direct && go get -v github.com/Ullaakut/nmap/v2. Now, grepping for that method successfully returns the desired part of the code:

cat '/home/speters/.gvm/pkgsets/go1.14/global/pkg/mod/github.com/!ullaakut/nmap/[email protected]/nmap.go' | grep "RunWithProgress"
// RunWithProgress runs nmap synchronously and returns the result of the scan.
func (s *Scanner) RunWithProgress(liveProgress chan<- float32) (result *Run, warnings []string, err error) {

I'd say @elivlo's solution is the proper one, at least proxy.golang.org also suggests setting a new tag:
https://proxy.golang.org/, Section "I removed a bad release from my repository but it still appears in the mirror, what should I do?"

Cheers
Simon

from nmap.

elivlo avatar elivlo commented on July 16, 2024 1

Now it is working, contains all current methods and does not throw a checksum mismatch. 😃
Thanks!

from nmap.

Ullaakut avatar Ullaakut commented on July 16, 2024

I pushed a v2.0.3 version, let me know if that fixes it :)

from nmap.

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.