Actually there is no need to patch go.mod !
One just has to move each M.U.T. component to the right _build directory:
execute_before_dh_auto_build:
mkdir -p _build/src/
github.com/prep ln -srf golang-github-prep-socketpair _build/src/
github.com/prep/socketpair mkdir -p _build/src/
github.com/jupp0r ln -srf golang-github-jupp0r-go-priority-queue _build/src/
github.com/jupp0r/go-priority-queue
In theory, the right path being recorded in go.mod, the line above could be simplified.
Something with "go list ..." ?
Any idea ?