vendor: github.com/prometheus/client_golang v1.12.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
985711c1f4
commit
ec47096efc
574 changed files with 101741 additions and 22828 deletions
4
vendor/gopkg.in/check.v1/checkers.go
generated
vendored
4
vendor/gopkg.in/check.v1/checkers.go
generated
vendored
|
@ -161,6 +161,10 @@ func (checker *notNilChecker) Check(params []interface{}, names []string) (resul
|
|||
// Equals checker.
|
||||
|
||||
func diffworthy(a interface{}) bool {
|
||||
if a == nil {
|
||||
return false
|
||||
}
|
||||
|
||||
t := reflect.TypeOf(a)
|
||||
switch t.Kind() {
|
||||
case reflect.Array, reflect.Map, reflect.Slice, reflect.Struct, reflect.String, reflect.Ptr:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue