homebox/backend/internal/services/service_user_defaults.go

58 lines
655 B
Go
Raw Permalink Normal View History

2022-09-04 06:19:13 +00:00
package services
import (
"github.com/hay-kot/homebox/backend/internal/repo"
)
2022-09-04 06:19:13 +00:00
func defaultLocations() []repo.LocationCreate {
return []repo.LocationCreate{
2022-09-04 06:19:13 +00:00
{
Name: "Living Room",
},
{
Name: "Garage",
},
{
Name: "Kitchen",
},
{
Name: "Bedroom",
},
{
Name: "Bathroom",
},
{
Name: "Office",
},
{
Name: "Attic",
},
{
Name: "Basement",
},
}
}
func defaultLabels() []repo.LabelCreate {
return []repo.LabelCreate{
2022-09-04 06:19:13 +00:00
{
Name: "Appliances",
},
{
Name: "IOT",
},
{
Name: "Electronics",
},
{
Name: "Servers",
},
{
Name: "General",
},
{
Name: "Important",
},
}
}