hi,
Using "replace" in go.mod works fine for a change that doesn't require net/http to be updated.
But because of h2_bundle.go 'trick' in net/http the std lib must be updated for the changes to be integrated in net/http.
I've tried using gotip but it gets complicated because of "vendor" bits in std lib source.
I managed to get around this but I find the whole experience not very user friendly.
Then I get an error when trying to "go generate net/http":
bundle: internal error: package "strings" without types was imported from "
golang.org/x/net/http2"
net/http/http.go:5: running "bundle": exit status 1
(is this related to generics introduction in 1.18 and not having them in
golang.org/x/net yet ?)
here the steps I used:
Another issue is that gotip doesn't have a 'make' option only 'download'. gotip doesn't generate either (could be on purpose).
so gotip is probably not the right tool to test changes made to
golang.org/x/net ?