code: func (g *deepCopyGenerator) ReplaceType(pkgPath, name string, t interface{}) {
  	g.replace[pkgPathNamePair{pkgPath, name}] = reflect.TypeOf(t)
  }
docs: // ReplaceType registers a replacement type to be used instead of the named type