util/json.go

Summary

Maintainability
A
0 mins
Test Coverage

exported function UnmarshalStringList should have comment or be unexported
Open

func UnmarshalStringList(raw json.RawMessage) ([]string, error) {
Severity: Minor
Found in util/json.go by golint

exported type Duration should have comment or be unexported
Open

type Duration struct {
Severity: Minor
Found in util/json.go by golint

exported method Duration.MarshalJSON should have comment or be unexported
Open

func (d Duration) MarshalJSON() ([]byte, error) {
Severity: Minor
Found in util/json.go by golint

exported method Duration.UnmarshalJSON should have comment or be unexported
Open

func (d *Duration) UnmarshalJSON(data []byte) error {
Severity: Minor
Found in util/json.go by golint

exported var ZeroDuration should have comment or be unexported
Open

var ZeroDuration = Duration{time.Duration(0)}
Severity: Minor
Found in util/json.go by golint

There are no issues that match your filters.

Category
Status