wip: refactor(config): added new structures

wip: feat(task): renamed structure
This commit is contained in:
2024-01-01 22:45:02 +11:00
parent 98d57cda84
commit 6a40403434
4 changed files with 45 additions and 14 deletions
+2 -2
View File
@@ -33,11 +33,11 @@ func TestCronV0(t *testing.T) {
func TestTasks_List(t *testing.T) {
tasks := NewTasks()
tasks.services = []wminit.ServiceTask{
&Task{
&ServiceTask{
name: "one",
command: []string{"/path/to/executable"},
},
&Task{
&ServiceTask{
name: "two",
command: []string{"/path/to/executable"},
},