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

ory / keto / 9187170877

22 May 2024 07:31AM UTC coverage: 80.182% (-0.07%) from 80.253%
9187170877

push

github

aeneasr
chore: update repository templates to https://github.com/ory/meta/commit/e838bee8d

5648 of 7044 relevant lines covered (80.18%)

499.44 hits per line

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

60.0
/internal/namespace/ast/operator_string.go
1
// Copyright © 2023 Ory Corp
2
// SPDX-License-Identifier: Apache-2.0
3

4
// Code generated by "stringer -type=Operator -linecomment"; DO NOT EDIT.
5

6
package ast
7

8
import "strconv"
9

10
func _() {
11
        // An "invalid array index" compiler error signifies that the constant values have changed.
12
        // Re-run the stringer command to generate them again.
13
        var x [1]struct{}
14
        _ = x[OperatorOr-0]
15
        _ = x[OperatorAnd-1]
16
}
17

18
const _Operator_name = "orand"
19

20
var _Operator_index = [...]uint8{0, 2, 5}
21

22
func (i Operator) String() string {
16✔
23
        if i < 0 || i >= Operator(len(_Operator_index)-1) {
16✔
24
                return "Operator(" + strconv.FormatInt(int64(i), 10) + ")"
×
25
        }
×
26
        return _Operator_name[_Operator_index[i]:_Operator_index[i+1]]
16✔
27
}
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