paultag / go-debian

debian golang support library
https://pault.ag/go/debian
Other
81 stars 33 forks source link

remove import explicit path for alternate hosting ability #120

Closed pschou closed 2 years ago

paultag commented 2 years ago

The actual go code also does an absolute import of pault.ag/go/debian, so a "alternatively hosted" version of this module would still import this code, making it a lot harder to debug, IMHO. I think getting this error earlier is perhaps a good thing. What problem are you trying to solve?

pschou commented 2 years ago

This was the follow up to the discussion in PR #119

tianon commented 2 years ago

I believe that replace in go.mod is probably what you're looking for :eyes:

Edit: docs: https://go.dev/ref/mod#go-mod-file-replace

pschou commented 2 years ago

I think my main issue is that the go.mod and go.sum is still including DataDog in the merge I pushed to master.