https://go.dev/doc/modules/managing-dependencies
[[モジュール (Go)|モジュール]]を開発してローカルで動作確認したいときなどに利用する。
[[go.mod]]にて、以下のように`require`したあと`replace`でパスを書き換えてやればいい。
```txt
module example.com/mymodule
go 1.16
require example.com/theirmodule v0.0.0-unpublished
replace example.com/theirmodule v0.0.0-unpublished => ../theirmodule
```