How can I import locally build go module?
Importing without version gives:
go: errors parsing go.mod:
.../go.mod:4: usage: require module/path v1.2.3
In the list of modules via command:
go list -m all
I see it goes without version.
How can I import locally build go module?
Importing without version gives:
go: errors parsing go.mod:
.../go.mod:4: usage: require module/path v1.2.3
In the list of modules via command:
go list -m all
I see it goes without version.
The solution is to use replace
feature:
replace bitbucket.org/xxx/yyy v0.0.0-fff-zzz => ../yyy/