removed unused code
This commit is contained in:
parent
7bf779351c
commit
ad40aae4e9
1 changed files with 0 additions and 5 deletions
5
main.go
5
main.go
|
@ -223,11 +223,6 @@ func (web *Web) run() {
|
|||
web.router.Run("0.0.0.0:8080")
|
||||
}
|
||||
|
||||
type WatchEntry struct {
|
||||
Watch *Watch
|
||||
Entry *cron.Entry
|
||||
}
|
||||
|
||||
func (web *Web) index(c *gin.Context) {
|
||||
watches := []Watch{}
|
||||
web.db.Find(&watches)
|
||||
|
|
Loading…
Add table
Reference in a new issue