formatters/lcovjson/json_input.go
Method region.UnmarshalJSON
has 10 return statements (exceeds 4 allowed). Open
Open
func (region *region) UnmarshalJSON(data []byte) error {
var array []interface{}
if err := json.Unmarshal(data, &array); err != nil {
return err
}
Method segment.UnmarshalJSON
has 7 return statements (exceeds 4 allowed). Open
Open
func (segment *segment) UnmarshalJSON(data []byte) error {
var array []interface{}
if err := json.Unmarshal(data, &array); err != nil {
return err
}
Your code does not pass gofmt in 3 places. Go fmt your code! Open
Open
package lcovjson
- Exclude checks
type lcovJsonFile should be lcovJSONFile Open
Open
type lcovJsonFile struct {
- Exclude checks