-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Describe the bug
When importing koazee in a project which uses go mod, any command run exits with an error.
To Reproduce
Steps to reproduce the behavior:
- Create a dir with the following contents in main.go:
package main import "github.com/wesovilabs/koazee" func main() { t := []int{3, 2, 1} n := koazee. StreamOf(t). Sort(func(x, y int) int { if x <= y { return -1 } return 1 }). Last(). Int() fmt.Println(n) }
- Run
go mod init - Run
go buildorgo mod why, and get the error:go: finding github.com/golangci/tools v0.0.0-20180902102414-2cefd77fef9b go: github.com/golangci/[email protected]: unknown revision 2cefd77fef9b go: error loading module requirements
Expected behavior
Successful command execution without error.
Screenshots
Desktop (please complete the following information):
- OS: Linux 4.19.57-microsoft-standard (WSL2) / Windows 10 Version 1903 Build Version 18963.1000
- Browser: -
- Version: -
Smartphone (please complete the following information):
Additional context
There seems to be no revision 2cefd77fef9b of github.com/golangci/tools on which github.com/golangci/[email protected] depends.
Cf. ryboe/q#55
glassonion1 and thetruechar
Metadata
Metadata
Assignees
Labels
No labels