gin-gonic / gin
Showing 1 of 2 files from the diff.
Other files ignored by Codecov
context_test.go has changed.

@@ -1176,8 +1176,9 @@
Loading
1176 1176
		return c.Request
1177 1177
	}
1178 1178
	if keyAsString, ok := key.(string); ok {
1179 -
		val, _ := c.Get(keyAsString)
1180 -
		return val
1179 +
		if val, exists := c.Get(keyAsString); exists {
1180 +
			return val
1181 +
		}
1181 1182
	}
1182 -
	return nil
1183 +
	return c.Request.Context().Value(key)
1183 1184
}
Files Coverage
binding 100.00%
render 92.96%
auth.go 100.00%
context.go 97.66%
debug.go 100.00%
deprecated.go 100.00%
errors.go 100.00%
fs.go 100.00%
gin.go 99.18%
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.70%
5240.1
1.13.x=.13.x
TRAVIS_OS_NAME=linux
5240.2
1.13.x=.13.x
TRAVIS_OS_NAME=linux
5240.6
TRAVIS_OS_NAME=linux
1.15.x=.15.x
5240.5
TRAVIS_OS_NAME=linux
1.15.x=.15.x
5240.8
1.16.x=.16.x
TRAVIS_OS_NAME=linux
5240.7
1.16.x=.16.x
TRAVIS_OS_NAME=linux
5239.4
1.14.x=.14.x
TRAVIS_OS_NAME=linux
5239.2
1.13.x=.13.x
TRAVIS_OS_NAME=linux
5239.3
1.14.x=.14.x
TRAVIS_OS_NAME=linux
5239.1
1.13.x=.13.x
TRAVIS_OS_NAME=linux
5239.6
TRAVIS_OS_NAME=linux
1.15.x=.15.x
5239.5
TRAVIS_OS_NAME=linux
1.15.x=.15.x
5239.7
1.16.x=.16.x
TRAVIS_OS_NAME=linux
5239.8
1.16.x=.16.x
TRAVIS_OS_NAME=linux
5240.4
1.14.x=.14.x
TRAVIS_OS_NAME=linux
5240.3
1.14.x=.14.x
TRAVIS_OS_NAME=linux
1
coverage:
2
  notify:
3
    gitter:
4
      default:
5
        url: https://webhooks.gitter.im/e/d90dcdeeab2f1e357165
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading