flyingmutant / rapid

Rapid is a modern Go property-based testing library
https://pkg.go.dev/pgregory.net/rapid
Mozilla Public License 2.0
579 stars 25 forks source link

Should update go.mod's name #33

Closed atlas-comstock closed 2 years ago

atlas-comstock commented 2 years ago
$  GO111MODULE=on go get  github.com/flyingmutant/rapid

go get: github.com/flyingmutant/rapid@v0.4.7: parsing go.mod:
        module declares its path as: pgregory.net/rapid
                but was required as: github.com/flyingmutant/rapid
flyingmutant commented 2 years ago

Import path was changed from github.com/flyingmutant/rapid to pgregory.net/rapid some time ago. Please update your code to use the new one.

atlas-comstock commented 2 years ago

OK, but it is strange that import name does not match the github name, which we use to go get usually.

flyingmutant commented 2 years ago

Yes, it is common for import path to match github path, but it is not required. You can check go.mod to see the correct one.