You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 27, 2024. It is now read-only.
$ export GOPATH=pwd
git clone https://github.com/google/namebench.git src/github.com/google/namebench
go get github.com/mattn/go-sqlite3
go get golang.org/x/net/publicsuffix
go get github.com/miekg/dns
Cloning into 'src/github.com/google/namebench'...
remote: Enumerating objects: 5594, done.
remote: Total 5594 (delta 0), reused 0 (delta 0), pack-reused 5594
Receiving objects: 100% (5594/5594), 26.22 MiB | 1.00 MiB/s, done.
Resolving deltas: 100% (3947/3947), done.
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
$ go install github.com/mattn/go-sqlite3@latest; go install golang.org/x/net/publicsuffix@latest; go install github.com/miekg/dns@latest
go: downloading github.com/mattn/go-sqlite3 v1.14.17
package github.com/mattn/go-sqlite3 is not a main package
go: downloading golang.org/x/net v0.15.0
package golang.org/x/net/publicsuffix is not a main package
go: downloading github.com/miekg/dns v1.1.56
go: downloading golang.org/x/sys v0.12.0
package github.com/miekg/dns is not a main package
The text was updated successfully, but these errors were encountered:
its not working however if you want to try
make a new folder, cd to that folder then git clone https://github.com/google/namebench.git src/github.com/google/namebench *without the export GOPATH=pwd then paste the go get cmds. if it throws $go: go.mod file not found in current directory or any parent director" : go mod init namebench then paste the go get commands again. if this error showed up: "$GOPATH/go.mod exists but should not" then do: export GOPATH=path to the directory and finally try the go get cmds again and it should be fine. and after its done building : ./namebench and it shows an url, paste it in your browser.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
$ export GOPATH=
pwd
git clone https://github.com/google/namebench.git src/github.com/google/namebench
go get github.com/mattn/go-sqlite3
go get golang.org/x/net/publicsuffix
go get github.com/miekg/dns
Cloning into 'src/github.com/google/namebench'...
remote: Enumerating objects: 5594, done.
remote: Total 5594 (delta 0), reused 0 (delta 0), pack-reused 5594
Receiving objects: 100% (5594/5594), 26.22 MiB | 1.00 MiB/s, done.
Resolving deltas: 100% (3947/3947), done.
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
$ go install github.com/mattn/go-sqlite3@latest; go install golang.org/x/net/publicsuffix@latest; go install github.com/miekg/dns@latest
go: downloading github.com/mattn/go-sqlite3 v1.14.17
package github.com/mattn/go-sqlite3 is not a main package
go: downloading golang.org/x/net v0.15.0
package golang.org/x/net/publicsuffix is not a main package
go: downloading github.com/miekg/dns v1.1.56
go: downloading golang.org/x/sys v0.12.0
package github.com/miekg/dns is not a main package
The text was updated successfully, but these errors were encountered: