Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose HandlerFunc in RouteInfos #1272

Merged
merged 5 commits into from
Oct 23, 2018
Merged

Expose HandlerFunc in RouteInfos #1272

merged 5 commits into from
Oct 23, 2018

Conversation

loopfz
Copy link
Contributor

@loopfz loopfz commented Mar 7, 2018

I'd like to have access to the HandlerFunc in RouteInfos, to write utilities around gin.
This resolves #506 for me.

@codecov
Copy link

codecov bot commented Mar 7, 2018

Codecov Report

Merging #1272 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1272      +/-   ##
==========================================
+ Coverage   99.27%   99.27%   +<.01%     
==========================================
  Files          39       39              
  Lines        1929     1931       +2     
==========================================
+ Hits         1915     1917       +2     
  Misses         10       10              
  Partials        4        4
Impacted Files Coverage Δ
gin.go 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dbc330b...9309631. Read the comment docs.

@loopfz
Copy link
Contributor Author

loopfz commented May 13, 2018

Can we merge this ? @appleboy

@appleboy
Copy link
Member

Waiting for @thinkerou review.

@thinkerou
Copy link
Member

@loopfz Thank you for your work, if you can update them annotation it's very nice, LGTM.

@thinkerou thinkerou self-requested a review September 20, 2018 10:33
@thinkerou thinkerou merged commit c65e5ef into gin-gonic:master Oct 23, 2018
justinfx pushed a commit to justinfx/gin that referenced this pull request Nov 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

engine.Routes() -- Custom function names (need for swagger package)
4 participants