File tree Expand file tree Collapse file tree 8 files changed +5
-12
lines changed Expand file tree Collapse file tree 8 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,6 @@ linters:
72
72
desc : " Use github.com/go-kit/log instead of github.com/go-kit/kit/log"
73
73
- pkg : " io/ioutil"
74
74
desc : " Use corresponding 'os' or 'io' functions instead."
75
- - pkg : " regexp"
76
- desc : " Use github.com/grafana/regexp instead of regexp"
77
75
- pkg : " github.com/pkg/errors"
78
76
desc : " Use 'errors' or 'fmt' instead of github.com/pkg/errors"
79
77
- pkg : " gzip"
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ toolchain go1.24.1
7
7
require (
8
8
github.com/alecthomas/kingpin/v2 v2.4.0
9
9
github.com/google/go-cmp v0.7.0
10
- github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc
11
10
github.com/julienschmidt/httprouter v1.3.0
12
11
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
13
12
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
11
11
github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
12
12
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8 =
13
13
github.com/google/go-cmp v0.7.0 /go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU =
14
- github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc h1:GN2Lv3MGO7AS6PrRoT6yV5+wkrOpcszoIsO4+4ds248 =
15
- github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc /go.mod h1:+JKpmjMGhpgPL+rXZ5nsZieVzvarn86asRlBg4uNGnk =
16
14
github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA =
17
15
github.com/jpillora/backoff v1.0.0 /go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4 =
18
16
github.com/julienschmidt/httprouter v1.3.0 h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U =
Original file line number Diff line number Diff line change @@ -16,10 +16,9 @@ package model
16
16
import (
17
17
"encoding/json"
18
18
"fmt"
19
+ "regexp"
19
20
"strings"
20
21
"unicode/utf8"
21
-
22
- "github.com/grafana/regexp"
23
22
)
24
23
25
24
const (
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ import (
17
17
"encoding/json"
18
18
"errors"
19
19
"fmt"
20
+ "regexp"
20
21
"sort"
21
22
"strconv"
22
23
"strings"
23
24
"unicode/utf8"
24
25
25
- "github.com/grafana/regexp"
26
26
dto "github.com/prometheus/client_model/go"
27
27
"google.golang.org/protobuf/proto"
28
28
"gopkg.in/yaml.v2"
Original file line number Diff line number Diff line change @@ -17,9 +17,8 @@ import (
17
17
"encoding/json"
18
18
"errors"
19
19
"fmt"
20
+ "regexp"
20
21
"time"
21
-
22
- "github.com/grafana/regexp"
23
22
)
24
23
25
24
// Matcher describes a matches the value of a given label.
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ package model
16
16
import (
17
17
"encoding/json"
18
18
"reflect"
19
+ "regexp"
19
20
"testing"
20
21
21
- "github.com/grafana/regexp"
22
22
"github.com/stretchr/testify/require"
23
23
)
24
24
Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ import (
18
18
"context"
19
19
"fmt"
20
20
"log/slog"
21
+ "regexp"
21
22
"strings"
22
23
"testing"
23
24
"time"
24
25
25
- "github.com/grafana/regexp"
26
26
"github.com/stretchr/testify/require"
27
27
"gopkg.in/yaml.v2"
28
28
)
You can’t perform that action at this time.
0 commit comments