Skip to content

Commit bccd682

Browse files
authored
Remove inlined upstream code (#1539)
Avoid having to maintain inlined code by using Go modules for `github.com/kylelemons/godebug`. Signed-off-by: SuperQ <[email protected]>
1 parent 33697e6 commit bccd682

File tree

6 files changed

+4
-430
lines changed

6 files changed

+4
-430
lines changed

NOTICE

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,3 @@ Go support for Protocol Buffers - Google's data interchange format
1616
http://github.com/golang/protobuf/
1717
Copyright 2010 The Go Authors
1818
See source code for license details.
19-
20-
diff - a pretty-printed complete of a Go data structure
21-
https://github.com/kylelemons/godebug
22-
Copyright 2013 Google Inc. All rights reserved.
23-
See source code for license details.

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ require (
88
github.com/google/go-cmp v0.6.0
99
github.com/json-iterator/go v1.1.12
1010
github.com/klauspost/compress v1.17.8
11+
github.com/kylelemons/godebug v1.1.0
1112
github.com/prometheus/client_model v0.6.1
1213
github.com/prometheus/common v0.53.0
1314
github.com/prometheus/procfs v0.15.1

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
2424
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
2525
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
2626
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
27+
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
28+
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
2729
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
2830
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
2931
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=

prometheus/testutil/diff/diff.go

Lines changed: 0 additions & 193 deletions
This file was deleted.

0 commit comments

Comments
 (0)