go module local development problem with replace directive in go.mod

36 views
Skip to first unread message

aihui zhu

unread,
Apr 23, 2020, 2:03:20 AM4/23/20
to golang-nuts
for example A deps B and B deps C
adds replace B => local/path/to/B in A/go.mod and replace C => local/path/to/C in B/go.mod
changes C doesn't rebuilds A.

it's it a bug or work as intend? 

how could i make rebuild works, otherwise i may need to create git commits, update A and B package again and again.
Reply all
Reply to author
Forward
0 new messages