()
| 14 | type Scope int |
| 15 | |
| 16 | func (s Scope) String() string { |
| 17 | switch s { |
| 18 | case 0: |
| 19 | return ScopeGlobal |
| 20 | case 1: |
| 21 | return ScopeTeam |
| 22 | case 2: |
| 23 | return ScopeService |
| 24 | default: |
| 25 | return ScopeGlobal |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | func (s Scope) Int() int { |
| 30 | return int(s) |
no outgoing calls
no test coverage detected