gin-swagger icon indicating copy to clipboard operation
gin-swagger copied to clipboard

cannot find module providing package github.com/go-project-name/docs

Open 631068264 opened this issue 3 years ago • 2 comments

use go mod tidy to install

go: finding module for package github.com/swaggo/gin-swagger
go: finding module for package github.com/go-project-name/docs
go: finding module for package github.com/swaggo/files
go: found github.com/swaggo/files in github.com/swaggo/files v0.0.0-20210815190702-a29dd2bc99b2
go: found github.com/swaggo/gin-swagger in github.com/swaggo/gin-swagger v1.3.2
go: finding module for package github.com/go-project-name/docs
uniin-cluster-agent/web imports
        github.com/go-project-name/docs: cannot find module providing package github.com/go-project-name/docs: module github.com/go-project-name/docs: reading https://goproxy.cn/github.com/go-project-name/docs/@v/list: 404 Not Found
        server response:
        not found: module github.com/go-project-name/docs: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/9e3599e89f1dfca6b3ba05a26ec3c65979a8a5511b479c658c1852621992096f: exit status 128:
                fatal: could not read Username for 'https://github.com': terminal prompts disabled
        Confirm the import path was entered correctly.
        If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.

631068264 avatar Oct 27 '21 09:10 631068264

This is not a gin-swagger error, don't you see there is an invalid package into your imports "github.com/go-project-name/docs" ??? go: finding module for package github.com/go-project-name/docs

ubogdan avatar Oct 27 '21 13:10 ubogdan

@631068264 is there anything else we can help you with?

ubogdan avatar Nov 09 '21 07:11 ubogdan