• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

UiPath / uipathcli / 6442892572

07 Oct 2023 06:45PM UTC coverage: 67.119% (-23.3%) from 90.418%
6442892572

push

github

thschmitt
Upgrade to golang 1.21, update dependencies to latest versions

- Upgrade to golang 1.21
- Update all dependencies to latest versions

3068 of 4571 relevant lines covered (67.12%)

362.28 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

86.36
/executor/execution_parameters.go
1
package executor
2

3
import "github.com/UiPath/uipathcli/parser"
4

5
type ExecutionParameters []ExecutionParameter
6

7
func (p ExecutionParameters) Path() []ExecutionParameter {
1✔
8
        return p.filter(parser.ParameterInPath)
1✔
9
}
1✔
10

11
func (p ExecutionParameters) Query() []ExecutionParameter {
1✔
12
        return p.filter(parser.ParameterInQuery)
1✔
13
}
1✔
14

15
func (p ExecutionParameters) Header() []ExecutionParameter {
1✔
16
        return p.filter(parser.ParameterInHeader)
1✔
17
}
1✔
18

19
func (p ExecutionParameters) Body() []ExecutionParameter {
1✔
20
        return p.filter(parser.ParameterInBody)
1✔
21
}
1✔
22

23
func (p ExecutionParameters) Form() []ExecutionParameter {
1✔
24
        return p.filter(parser.ParameterInForm)
1✔
25
}
1✔
26

27
func (p ExecutionParameters) filter(in string) []ExecutionParameter {
5✔
28
        result := []ExecutionParameter{}
5✔
29
        for _, p := range p {
5✔
30
                if p.In == in {
×
31
                        result = append(result, p)
×
32
                }
×
33
        }
34
        return result
5✔
35
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc