cweill / gotests

Automatically generate Go test boilerplate from your source code.
Apache License 2.0
4.93k stars 346 forks source link

go get github.com/cweill/gotests/...: no matching versions for query "latest" #105

Closed Sallery-X closed 4 years ago

HeathNaylor commented 5 years ago

Same issue for me.

josdotso commented 5 years ago

This worked for me: GO111MODULE=off go get github.com/cweill/gotests/...

Therefore, this repo doesn't support go modules yet.

cweill commented 4 years ago

If someone knows how to create go modules, please send a PR to fix this. Thank you.

Sallery-X commented 4 years ago

ok,i will do this.

Sallery-X commented 4 years ago

If someone knows how to create go modules, please send a PR to fix this. Thank you.

salarkhan commented 4 years ago

still seeing this using go1.12:

cloud:~: GO111MODULE=on go get -v github.com/cweill/gotests/...
go: finding github.com/cweill/gotests/... latest
Fetching https://github.com?go-get=1
Parsing meta tags from https://github.com?go-get=1 (status code 200)
go get github.com/cweill/gotests/...: no matching versions for query "latest"
cloud:~: GO111MODULE=off go get -v github.com/cweill/gotests/...
Fetching https://golang.org/x/tools/imports?go-get=1
Parsing meta tags from https://golang.org/x/tools/imports?go-get=1 (status code 200)
get "golang.org/x/tools/imports": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/imports?go-get=1
get "golang.org/x/tools/imports": verifying non-authoritative meta tag
Fetching https://golang.org/x/tools?go-get=1
Parsing meta tags from https://golang.org/x/tools?go-get=1 (status code 200)
golang.org/x/tools (download)
Fetching https://golang.org/x/mod/module?go-get=1
Parsing meta tags from https://golang.org/x/mod/module?go-get=1 (status code 200)
get "golang.org/x/mod/module": found meta tag get.metaImport{Prefix:"golang.org/x/mod", VCS:"git", RepoRoot:"https://go.googlesource.com/mod"} at https://golang.org/x/mod/module?go-get=1
get "golang.org/x/mod/module": verifying non-authoritative meta tag
Fetching https://golang.org/x/mod?go-get=1
Parsing meta tags from https://golang.org/x/mod?go-get=1 (status code 200)
golang.org/x/mod (download)
Fetching https://golang.org/x/mod/semver?go-get=1
Parsing meta tags from https://golang.org/x/mod/semver?go-get=1 (status code 200)
get "golang.org/x/mod/semver": found meta tag get.metaImport{Prefix:"golang.org/x/mod", VCS:"git", RepoRoot:"https://go.googlesource.com/mod"} at https://golang.org/x/mod/semver?go-get=1
get "golang.org/x/mod/semver": verifying non-authoritative meta tag
Fetching https://golang.org/x/xerrors?go-get=1
Parsing meta tags from https://golang.org/x/xerrors?go-get=1 (status code 200)
get "golang.org/x/xerrors": found meta tag get.metaImport{Prefix:"golang.org/x/xerrors", VCS:"git", RepoRoot:"https://go.googlesource.com/xerrors"} at https://golang.org/x/xerrors?go-get=1
golang.org/x/xerrors (download)
golang.org/x/mod/semver
golang.org/x/xerrors/internal
github.com/cweill/gotests/internal/models
golang.org/x/tools/go/ast/astutil
github.com/cweill/gotests/internal/render/bindata
github.com/cweill/gotests/templates
golang.org/x/tools/internal/event/label
golang.org/x/tools/internal/fastwalk
golang.org/x/xerrors
golang.org/x/tools/internal/event/keys
golang.org/x/tools/internal/gopathwalk
github.com/cweill/gotests/internal/goparser
github.com/cweill/gotests/internal/input
github.com/cweill/gotests/internal/render
golang.org/x/mod/module
golang.org/x/tools/internal/event/core
golang.org/x/tools/internal/event
golang.org/x/tools/internal/gocommand
golang.org/x/tools/internal/imports
golang.org/x/tools/imports
github.com/cweill/gotests/internal/output
github.com/cweill/gotests
github.com/cweill/gotests/gotests/process
github.com/cweill/gotests/gotests