Comments (4)
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 --
- update the
import
path to the correct folder (something likegithub.com/erbbysam/DNSGrep
) - move the
DNSGrep
folder togo/src/dnsgrep
I will update the install directions and import
paths to fix this.
from dnsgrep.
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.
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.
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)
- No regular expressions? HOT 3
- Use Go to generate fdns_a.sort.txt and rdns.sort.txt to support Windows HOT 1
- Installing requirements
- Change split from bytes to lines HOT 2
- change the project to support ip reverse lookup domains HOT 1
- go: inconsistent vendoring in /usr/local/go/src: HOT 1
- search failed for "Error: failed to find exact match via binary search" HOT 4
- Add newest dataset for downloading in scripts HOT 2
- sort: cannot read: 'fileChunk*': No such file or directory HOT 2
- Getting this error (gzip: fdns_a.gz: not in gzip format) HOT 2
- The demo site is down HOT 4
- Fix go get by updating import path to: github.com/erbbysam/DNSGrep 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 dnsgrep.