mirror of
https://github.com/go-gitea/gitea
synced 2025-07-09 20:17:21 +00:00
go1.16 (#14783)
This commit is contained in:
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
|
||||
}
|
||||
|
Reference in New Issue
Block a user