From 7e71ce72bdd241ba49bd9f18fb588b6af5e6d98a Mon Sep 17 00:00:00 2001 From: Nick Boughton Date: Fri, 11 Dec 2020 01:01:59 +0000 Subject: [PATCH] removed redundant type def --- waybar/modules/updates/update-check.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/waybar/modules/updates/update-check.go b/waybar/modules/updates/update-check.go index 6ddb815..1d5eefb 100644 --- a/waybar/modules/updates/update-check.go +++ b/waybar/modules/updates/update-check.go @@ -10,14 +10,6 @@ import ( "github.com/nboughton/dotfiles/waybar/modules/gobar" ) -type jsonOutput struct { - Text string `json:"text,omitempty"` - Alt string `json:"alt,omitempty"` - Tooltip string `json:"tooltip,omitempty"` - Class string `json:"class,omitempty"` - Percentage int `json:"percentage,omitempty"` -} - var outfile = fmt.Sprintf("%s/tmp/updates.json", os.Getenv(("HOME"))) func main() {