forked from forgejo/forgejo
go1.16 (#14783)
This commit is contained in:
parent
030646eea4
commit
47f6a4ec3f
947 changed files with 26119 additions and 7062 deletions
2
vendor/github.com/go-testfixtures/testfixtures/v3/dump.go
generated
vendored
2
vendor/github.com/go-testfixtures/testfixtures/v3/dump.go
generated
vendored
|
@ -2,6 +2,7 @@ package testfixtures
|
|||
|
||||
import (
|
||||
"database/sql"
|
||||
"encoding/hex"
|
||||
"fmt"
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
@ -160,6 +161,7 @@ func convertValue(value interface{}) interface{} {
|
|||
if utf8.Valid(v) {
|
||||
return string(v)
|
||||
}
|
||||
return "0x" + hex.EncodeToString(value.([]byte))
|
||||
}
|
||||
return value
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue