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

@@ -20,12 +20,12 @@
Loading
20 20
	return context.WithValue(c, requestIDKey{}, id)
21 21
}
22 22
23 -
// RequestID takes request id from context.
23 +
// GetMetadata takes jsonrpc metadata from context.
24 24
func GetMetadata(c context.Context) Metadata {
25 25
	return c.Value(metadataIDKey{}).(Metadata)
26 26
}
27 27
28 -
// WithRequestID adds request id to context.
28 +
// WithMetadata adds jsonrpc metadata to context.
29 29
func WithMetadata(c context.Context, md Metadata) context.Context {
30 30
	return context.WithValue(c, metadataIDKey{}, md)
31 31
}
Files Coverage
context.go 100.00%
debug.go 87.50%
error.go 100.00%
handler.go 81.81%
jsonrpc.go 78.94%
method.go 100.00%
unmarshal.go 100.00%
Project Totals (7 files) 90.00%
Untitled
Untitled
Untitled
1
codecov:
2
  branch: master
3

4
coverage:
5
  precision: 2
6
  round: down
7
  range: "70...100"
8

9
  status:
10
    project:
11
      default:
12
        target: auto
13
        threshold: 90
14
        branches: null
15

16
    patch:
17
      default:
18
        target: auto
19
        branches: null
20

21
    changes:
22
      default:
23
        branches: null
24

25
  ignore:
26
    - .*/vendor/.*
27

28
comment: off
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