test2doc
test2doc copied to clipboard
HandleFuncs can now be Type Methods as well.
http.HandleFunc
documentation was not discovered because only
first class functions were traversed when building apib documentation.
Now both first class functions and type methods are traversed. For example:
type WidgetController struct {}
// GetTypeWidget retrieves a single Widget
func (* WidgetController) GetWidget(w, r) { }
Hey @ivaningrooves, I'd love to get your PR merged in. If you don't want to do my requested changes, I can do the changes myself. Would that work better for you?
@adams-sarah This PR seems to be abandoned. Are you planning to address issues mentioned above?