We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce:
In an existing Go 1.11+ module project, create a new file containing
import ( "github.com/martinlindhe/unit" ) func init() { ft := 1 * unit.Foot println(ft) }
At the console, type go mod tidy
go mod tidy
Expected:
go.mod
Actual:
go: finding github.com/martinlindhe/unit latest go: finding github.com/stretchrcom/testify/assert latest go: github.com/stretchrcom/testify@v1.3.0: parsing go.mod: unexpected module path "github.com/stretchr/testify" go: error loading module requirements
Workaround:
unit_test.go
stretchr
stretchrcom
replace
github.com/martinlindhe/unit
go mod init
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps to reproduce:
In an existing Go 1.11+ module project, create a new file containing
At the console, type
go mod tidy
Expected:
go.mod
is updatedActual:
Workaround:
unit_test.go
to usestretchr
rather thanstretchrcom
replace
directive to substitute the local clone forgithub.com/martinlindhe/unit
go mod init
to add ago.mod
file (replace only works with module projects)The text was updated successfully, but these errors were encountered: