golang.org/x/mod/modfile.WorkFile.AddReplace (method)
one use
golang.org/x/mod/modfile (current package)
work.go#L296: func (f *WorkFile) AddReplace(oldPath, oldVers, newPath, newVers string) error {
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)