You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: config.go
    path of file: ./repos/coder/scaletest/dashboard
    
    the code of the file until where you have to start completion: package dashboard

import (
	"context"
	"time"

	"cdr.dev/slog"

	"golang.org/x/xerrors"
)

type Config struct {
	// Interval is the minimum interval between fetches.
	Interval time.Duration `json:"interval"`
	// Jitter is the maximum in
    
func (c Config) Validate() error {
	if !(c.Interval > 0) {
		return xerrors.Errorf("validate interval: must be greater than zero")
	}

	if !(c.Jitter < c.Interval) {
		return xerrors.Errorf("validate jitter: must be less than interval")
	}

	return nil
}