gin-gonic / gin

Compare 34ce210 ... +0 ... c92c0dd

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
}

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
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%
Loading