Git Product home page Git Product logo

Comments (4)

erbbysam avatar erbbysam commented on July 3, 2024 1

There is a go import path issue here.

This package is not directly go get-able. It expects to live at go/src/dnsgrep (based on the import line "dnsgrep/DNSBinarySearch").

There are 2 possible fixes --

  1. update the import path to the correct folder (something like github.com/erbbysam/DNSGrep)
  2. move the DNSGrep folder to go/src/dnsgrep

I will update the install directions and import paths to fix this.

from dnsgrep.

Lunpopo avatar Lunpopo commented on July 3, 2024 1

Dear @erbbysam:
github is terrible, just contact me by email pass about half year. but fortunately is i have resolve this issue followed your suggestion just now. Thanks a lot.

@hsluoyz, hi guy, i will show you what was resolved. first at all, following the Install section go get the following packages: and then hit cd /root/go/src/ command if your Go root path is here. And in this path hit git clone https://github.com/erbbysam/DNSGrep.git and mv DNSGrep dnsgrep. Because this program import path is go/src/dnsgrep.
Finally, run the command line: go run dnsgrep.go -f DNSBinarySearch/test_data.txt -i "amiccom.com.tw", this issue was done.

from dnsgrep.

hsluoyz avatar hsluoyz commented on July 3, 2024

Can we fix the import paths in source code to make go get work? Because go get is currently the standard way to pull a Go package.

from dnsgrep.

hsluoyz avatar hsluoyz commented on July 3, 2024

Hi @erbbysam , if you are OK with update the import path to the correct folder (something like github.com/erbbysam/DNSGrep), I can send a PR. Do you support it?

from dnsgrep.

Related Issues (13)

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.