File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ const (
20
20
21
21
// Routes defines a map between the routes and the routes' argument
22
22
var Routes = map [Route ]RouterArguments {
23
- CreateJob : RouterArguments {Path : "/jobs" , Method : http .MethodPost },
24
- StartJob : RouterArguments {Path : "/jobs/{jobID}/start" , Method : http .MethodPost },
25
- ListJobs : RouterArguments {Path : "/jobs" , Method : http .MethodGet },
26
- GetJobDetails : RouterArguments {Path : "/jobs/{jobID}" , Method : http .MethodGet },
27
- DeleteJob : RouterArguments {Path : "/jobs/{jobID}" , Method : http .MethodDelete },
23
+ CreateJob : {Path : "/jobs" , Method : http .MethodPost },
24
+ StartJob : {Path : "/jobs/{jobID}/start" , Method : http .MethodPost },
25
+ ListJobs : {Path : "/jobs" , Method : http .MethodGet },
26
+ GetJobDetails : {Path : "/jobs/{jobID}" , Method : http .MethodGet },
27
+ DeleteJob : {Path : "/jobs/{jobID}" , Method : http .MethodDelete },
28
28
}
You can’t perform that action at this time.
0 commit comments