Comments (3)
GO111MODULE=on go get -u ...
causes the problem while GO111MODULE=auto
does not.
from codesearch.
I'm still seeing this issue
For some reason:
$ cat ~/go/pkg/mod/github.com/junkblocker/codesearch\@v1.2.0/go.mod
module github.com/google/codesearch
go 1.13
$ rm -rf ~/go/pkg/mod/github.com/junkblocker
$ go get -u github.com/junkblocker/codesearch
Puts it back at 1.2.0.
$ GO111MODULE=auto go get github.com/junkblocker/codesearch
go: github.com/junkblocker/codesearch upgrade => v1.2.0
go get: github.com/junkblocker/[email protected]: parsing go.mod:
module declares its path as: github.com/google/codesearch
but was required as: github.com/junkblocker/codesearch
$ GO111MODULE=auto go get github.com/junkblocker/[email protected]
go get github.com/junkblocker/[email protected]: github.com/junkblocker/[email protected]: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v5
Finally worked:
$ go get github.com/junkblocker/codesearch@4574186491dc220c3a124b8b01c7b13403680e6e
Perhaps the release version number v5.0.1
and corresponding lack of v5/
subdirectory throws this off? Not sure.
from codesearch.
This may be because go 1.16 has the new default GO111MOODULE=on . I've updated the README and updated the go.mod to include v6 as the version which hopefully helps.
from codesearch.
Related Issues (12)
- Skipping long lines HOT 1
- Highlight matches
- Incremental indexing HOT 2
- Exclude path for csearch
- Multiple code repo search HOT 5
- https://github.com/goreleaser/goreleaser HOT 1
- pre-compiled binaries? HOT 2
- cindex: skip binary files
- Searching across multiple lines HOT 1
- Parallel indexing? HOT 1
- Fix Windows not being able to delete temporary files HOT 3
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 codesearch.