Hi group,
In the go.mod replace way, there’s a one-to-one mapping relationship, for example, the module example.com/hello is mapped to folder …/hello ``` $ go mod edit -replace example.com/hello=../hello $ view go.mod replace example.com/hello => ../hello $ ``` Now with the go.work way. If I've got three repos or modules like this: ``` module main go 1.18 require example1.com/hello v1.0.0 require example2.com/hello v1.0.0 require example3.com/hello v1.0.0 ``` How can go.work know which module above, refers to ./hello ? ``` go.work: use ./hello ``` Thanks -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/tencent_FFE3265FF272623D8732F23F839930C48D09%40qq.com.