test2doc icon indicating copy to clipboard operation
test2doc copied to clipboard

HandleFuncs can now be Type Methods as well.

Open ivaningrooves opened this issue 8 years ago • 2 comments

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) { }

ivaningrooves avatar Jul 18 '16 23:07 ivaningrooves

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?

s-mang avatar Sep 02 '16 16:09 s-mang

@adams-sarah This PR seems to be abandoned. Are you planning to address issues mentioned above?

matrosov-nikita avatar Jul 29 '18 08:07 matrosov-nikita