OH, OKAY! that's what I should have do like 4 hours ago. Well, today I learned more of what can `replace` do in Golang modules.

  • 2
    this makes `go mod tidy` shut up, things still compile but is better to be sure than sorry later
  • 0
    tf is that shit... is that an error? why cant it just say "you forgot a comma idiot" or whatever the problem is
  • 0
    @molaram go mod has issues defining what module `backend/notify` is, `replace` comes handy because I can tell it is a relative directory location
  • 1
    @molaram it’s dependency manager, OP talks about replacing deps with something else, e.g. fork of some repo, until PR is accepted, or in his case just with local directory
Add Comment