(currentVersion string)
| 121 | } |
| 122 | |
| 123 | func StartVersionChecker(currentVersion string) { |
| 124 | |
| 125 | checkAndNotifyVersion(currentVersion) |
| 126 | |
| 127 | ticker := time.NewTicker(24 * time.Hour) |
| 128 | go func() { |
| 129 | for range ticker.C { |
| 130 | checkAndNotifyVersion(currentVersion) |
| 131 | } |
| 132 | }() |
| 133 | } |
no test coverage detected