1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Delete unused code block from main.go

This commit is contained in:
Chris Cummer 2019-04-22 19:51:54 -07:00
parent cb3a0d5fc9
commit 5eb21d82b6

10
main.go
View File

@ -342,16 +342,6 @@ func makeWidgets(app *tview.Application, pages *tview.Pages) []wtf.Wtfable {
return widgets
}
// // Check that all the loaded widgets are valid for display
// func validateWidgets(widgets []wtf.Wtfable) {
// for _, widget := range widgets {
// if widget.Enabled() && !widget.IsPositionable() {
// errStr := fmt.Sprintf("Widget config has invalid values: %s", widget.Key())
// log.Fatalln(errStr)
// }
// }
// }
/* -------------------- Main -------------------- */
func main() {