Join GitHub today
x/build/internal/gophers: improve documentation, internal package design #27631
// (no documentation) func GetPerson(id string) *Person
I've used and modified it multiple times, and each time, I had to read its internal code to figure out:
Despite being an internal package,
I think it can be made easier to use by:
Made easier to modify by:
This is just a quick draft proposal, not necessarily the final API design. If the general direction is well received but there are concerns or improvement suggestions, I'm happy to flesh it out and incorporate feedback. I wouldn't send a CL until I have a solid design.