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

add internal package which includes json package #1504

Merged
merged 2 commits into from
Aug 30, 2018
Merged

add internal package which includes json package #1504

merged 2 commits into from
Aug 30, 2018

Conversation

thinkerou
Copy link
Member

@thinkerou thinkerou commented Aug 22, 2018

@appleboy @javierprovecho please review the pull request, otherwise need add one internal package. thanks!

json package should internal package which should not external use. ref: #1339

about internal please see https://docs.google.com/document/d/1e8kOo3r51b2BWtTs_1uADIA5djfXhPT36s6eHVRIvaU/edit

An import of a path containing the elementinternalis disallowed if the importing code is outside the tree rooted at the parent of theinternaldirectory.

so only github.com/gin-gonic/gin/* can call on internal package.

@codecov
Copy link

codecov bot commented Aug 30, 2018

Codecov Report

Merging #1504 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1504   +/-   ##
=======================================
  Coverage   99.16%   99.16%           
=======================================
  Files          39       39           
  Lines        1912     1912           
=======================================
  Hits         1896     1896           
  Misses         13       13           
  Partials        3        3
Impacted Files Coverage Δ
render/json_17.go 100% <ø> (ø) ⬆️
render/json.go 100% <ø> (ø) ⬆️
errors.go 100% <ø> (ø) ⬆️
binding/json.go 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 708b76a...84522a9. Read the comment docs.

@appleboy appleboy added this to the 1.4 milestone Aug 30, 2018
@thinkerou thinkerou merged commit 72db8ac into gin-gonic:master Aug 30, 2018
Jim-Lambert-Bose pushed a commit to Jim-Lambert-Bose/gin that referenced this pull request Sep 11, 2018
add internal package which includes json package (gin-gonic#1504)

chore: update vendor version (gin-gonic#1520)

chore: update issue_implate (gin-gonic#1524)

docs: add fnproject to gin's user list (gin-gonic#1505)

example for RunLimited

example for RunLimited
Jim-Lambert-Bose pushed a commit to Jim-Lambert-Bose/gin that referenced this pull request Sep 11, 2018
add internal package which includes json package (gin-gonic#1504)

chore: update vendor version (gin-gonic#1520)

chore: update issue_implate (gin-gonic#1524)

docs: add fnproject to gin's user list (gin-gonic#1505)

example for RunLimited

example for RunLimited

add new capability to limit accepted connections

Add golang 1.11.x testing (gin-gonic#1514)

* Add golang 1.11.x testing

* remove the latest golang testing

See the issue: gin-gonic#1510

Update README.md (gin-gonic#1509)

change  `ShouldBindXML` to `ShouldBindJSON`

add internal package which includes json package (gin-gonic#1504)

chore: update vendor version (gin-gonic#1520)

chore: update issue_implate (gin-gonic#1524)

docs: add fnproject to gin's user list (gin-gonic#1505)

added new capability to limit the accepted requests

example for RunLimited

example for RunLimited
@thinkerou thinkerou deleted the internal branch September 25, 2018 14:05
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.

2 participants