comparison pkg/scheduler/scheduler.go @ 1689:6caf5cd6249e

WFS: Made golint happy.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 30 Dec 2018 14:39:46 +0100
parents 85386ad17d34
children b51673c1e604
comparison
equal deleted inserted replaced
1688:774174d09d30 1689:6caf5cd6249e
127 // UnbindByID unbinds all schedules with a given id. 127 // UnbindByID unbinds all schedules with a given id.
128 func UnbindByID(cfgID int64) { 128 func UnbindByID(cfgID int64) {
129 global.unbindByID(cfgID) 129 global.unbindByID(cfgID)
130 } 130 }
131 131
132 // UnbindUser unbinds all schedules for a given user. 132 // UnbindByIDs unbinds all schedules for a given user.
133 func UnbindByIDs(ids map[int64]struct{}) { 133 func UnbindByIDs(ids map[int64]struct{}) {
134 global.unbindByIDs(ids) 134 global.unbindByIDs(ids)
135 } 135 }
136 136
137 // HasAction asks if there is an action with a given name. 137 // HasAction asks if there is an action with a given name.