util/json.go
exported type Duration should have comment or be unexported Open
Open
type Duration struct {
- Exclude checks
exported var ZeroDuration should have comment or be unexported Open
Open
var ZeroDuration = Duration{time.Duration(0)}
- Exclude checks
exported method Duration.MarshalJSON should have comment or be unexported Open
Open
func (d Duration) MarshalJSON() ([]byte, error) {
- Exclude checks
exported function UnmarshalStringList should have comment or be unexported Open
Open
func UnmarshalStringList(raw json.RawMessage) ([]string, error) {
- Exclude checks
exported method Duration.UnmarshalJSON should have comment or be unexported Open
Open
func (d *Duration) UnmarshalJSON(data []byte) error {
- Exclude checks