mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 21:05:30 +00:00
move module interface to common package
This commit is contained in:
@@ -24,7 +24,7 @@ type TimeInterval struct {
|
||||
func init() {
|
||||
RegisterModule(ModuleRegistration{
|
||||
Type: "time.interval",
|
||||
New: func(config config.ModuleConfig) (Module, error) {
|
||||
New: func(config config.ModuleConfig) (common.Module, error) {
|
||||
params := config.Params
|
||||
|
||||
durationInt, err := params.GetInt("duration")
|
||||
|
||||
Reference in New Issue
Block a user