package config import ( "time" ) type Config struct { Interval time.Duration } func Default() Config { return Config{ Interval: 30 * time.Second, } }