What is the proper way to edit a standard library like net/http?

So I am new to golang and I want to add some features that aren’t in the net/http library. So what is the proper way to edit the net/http library?

You could submit a proposal on https://github.com/golang/go, however I suspect that, depending on what exactly you’re trying to add, they’ll probably recommend to put the code into a 3rd party package and just use that package instead of incorporating it into the standard library.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.