youtubebeat/config/config.go

15 lines
265 B
Go
Raw Normal View History

2018-11-18 11:08:38 +01:00
// Config is put into a different package to prevent cyclic imports in case
// it is needed in several locations
package config
import "time"
type Config struct {
Period time.Duration `config:"period"`
}
var DefaultConfig = Config{
Period: 1 * time.Second,
}