You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
512 B

package config
type Timer struct {
Start bool `mapstructure:"start" json:"start" yaml:"start"`
Spec string `mapstructure:"spec" json:"spec" yaml:"spec"`
Detail []Detail `mapstructure:"detail" json:"detail" yaml:"detail"`
}
type Detail struct {
TableName string `mapstructure:"tableName" json:"tableName" yaml:"tableName"`
CompareField string `mapstructure:"compareField" json:"compareField" yaml:"compareField"`
Interval string `mapstructure:"interval" json:"interval" yaml:"interval"`
}