mirror of
https://github.com/nboughton/dotfiles
synced 2024-11-22 23:51:57 +01:00
removed redundant type definition
This commit is contained in:
parent
155f4c0f30
commit
b720c2a562
@ -16,14 +16,6 @@ type config struct {
|
|||||||
Versions []string `json:"versions,omitempty"`
|
Versions []string `json:"versions,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
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/aur-vcheck.json", os.Getenv(("HOME")))
|
var outfile = fmt.Sprintf("%s/tmp/aur-vcheck.json", os.Getenv(("HOME")))
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -16,14 +16,6 @@ type config struct {
|
|||||||
Versions []string `json:"versions,omitempty"`
|
Versions []string `json:"versions,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
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/aur-vcheck.json", os.Getenv(("HOME")))
|
var outfile = fmt.Sprintf("%s/tmp/aur-vcheck.json", os.Getenv(("HOME")))
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user