Showing 1 of 1 files from the diff.
Newly tracked file
context.go changed.

@@ -891,7 +891,7 @@
Loading
891 891
}
892 892
893 893
// JSONP serializes the given struct as JSON into the response body.
894 -
// It add padding to response body to request data from a server residing in a different domain than the client.
894 +
// It adds padding to response body to request data from a server residing in a different domain than the client.
895 895
// It also sets the Content-Type as "application/javascript".
896 896
func (c *Context) JSONP(code int, obj interface{}) {
897 897
	callback := c.DefaultQuery("callback", "")
@@ -968,7 +968,7 @@
Loading
968 968
	})
969 969
}
970 970
971 -
// File writes the specified file into the body stream in a efficient way.
971 +
// File writes the specified file into the body stream in an efficient way.
972 972
func (c *Context) File(filepath string) {
973 973
	http.ServeFile(c.Writer, c.Request, filepath)
974 974
}
Files Coverage
binding 100.00%
render 92.96%
auth.go 100.00%
context.go 97.51%
debug.go 92.50%
deprecated.go 100.00%
errors.go 100.00%
fs.go 100.00%
gin.go 99.01%
logger.go 100.00%
mode.go 100.00%
path.go 100.00%
recovery.go 97.18%
response_writer.go 93.33%
routergroup.go 100.00%
test_helpers.go 100.00%
tree.go 100.00%
utils.go 96.83%
Project Totals (41 files) 98.48%
4733.3
1.13.x=.13.x
TRAVIS_OS_NAME=linux
4733.4
1.14.x=.14.x
TRAVIS_OS_NAME=linux
4733.5
1.14.x=.14.x
TRAVIS_OS_NAME=linux
4733.6
TRAVIS_OS_NAME=linux
1.15.x=.15.x
4731.6
TRAVIS_OS_NAME=linux
1.15.x=.15.x
4731.7
TRAVIS_OS_NAME=linux
1.15.x=.15.x
4733.1
TRAVIS_OS_NAME=linux
1.12.x=.12.x
4733.2
1.13.x=.13.x
TRAVIS_OS_NAME=linux
4733.7
TRAVIS_OS_NAME=linux
1.15.x=.15.x
4734.2
1.13.x=.13.x
TRAVIS_OS_NAME=linux
4726.3
1.13.x=.13.x
TRAVIS_OS_NAME=linux
4726.5
1.14.x=.14.x
TRAVIS_OS_NAME=linux
4727.2
1.13.x=.13.x
TRAVIS_OS_NAME=linux
4742.4
1.14.x=.14.x
TRAVIS_OS_NAME=linux
4742.2
1.13.x=.13.x
TRAVIS_OS_NAME=linux
4741.6
TRAVIS_OS_NAME=linux
1.15.x=.15.x
4741.5
1.14.x=.14.x
TRAVIS_OS_NAME=linux
4742.3
1.13.x=.13.x
TRAVIS_OS_NAME=linux
4741.7
TRAVIS_OS_NAME=linux
1.15.x=.15.x
4741.2
1.13.x=.13.x
TRAVIS_OS_NAME=linux