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

path: sync code with httprouter #2212

Merged
merged 1 commit into from Jan 16, 2020
Merged

path: sync code with httprouter #2212

merged 1 commit into from Jan 16, 2020

Conversation

panjf2000
Copy link
Contributor

Make the constant stackBufSize local since the go compiler will replace any occurrence with the const value and it only applies to the cleanPath function.

Also to correct the last wrong sync by me and sync code with httprouter again:
https://github.com/julienschmidt/httprouter/blob/master/path.go#L22

@codecov
Copy link

codecov bot commented Jan 16, 2020

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2212      +/-   ##
==========================================
+ Coverage   98.51%   98.51%   +<.01%     
==========================================
  Files          41       41              
  Lines        2284     2285       +1     
==========================================
+ Hits         2250     2251       +1     
  Misses         18       18              
  Partials       16       16
Impacted Files Coverage Δ
path.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 424e968...6fd305f. Read the comment docs.

@appleboy appleboy added this to the 1.6 milestone Jan 16, 2020
@appleboy appleboy merged commit ace6e4c into gin-gonic:master Jan 16, 2020
ThomasObenaus pushed a commit to ThomasObenaus/gin that referenced this pull request Feb 19, 2020
byebyebruce pushed a commit to byebyebruce/gin that referenced this pull request Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants