encode/encoder.go   A
last analyzed

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
cc 1
eloc 3
dl 0
loc 4
c 0
b 0
f 0
ccs 1
cts 1
cp 1
crap 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A encode.Marshal 0 2 1
1
// Package encoder implements BINN encoding.
2
package encode
3
4
func Marshal(v interface{}) ([]byte, error) {
5 1
	return marshal(v)
6
}
7