generated from dave/wails-template
Refactor things into separate files
This commit is contained in:
17
addonService.go
Normal file
17
addonService.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package main
|
||||
|
||||
type AddonService struct {
|
||||
Addons []*Addon
|
||||
}
|
||||
|
||||
var addons = []*Addon{
|
||||
NewAddon("Channeler", "https://git.site.quack-lab.dev/dave/wow_channeler"),
|
||||
NewAddon("Heimdall", "https://git.site.quack-lab.dev/dave/wow-Heimdall"),
|
||||
NewAddon("Dechickenator", "https://git.site.quack-lab.dev/dave/wow_dechickenator"),
|
||||
}
|
||||
|
||||
func NewAddonService() *AddonService {
|
||||
return &AddonService{
|
||||
Addons: addons,
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user