mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
run gofumpt cleanup across code-base (#14015)
This commit is contained in:
@@ -84,7 +84,6 @@ func TestJSONPath(t *testing.T) {
|
||||
}
|
||||
// repr.Println(j, repr.Indent(" "), repr.OmitEmpty(true))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func TestIdentifierParsing(t *testing.T) {
|
||||
@@ -342,7 +341,6 @@ func TestFromClauseJSONPath(t *testing.T) {
|
||||
|
||||
// repr.Println(s, repr.Indent(" "), repr.OmitEmpty(true))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func TestSelectParsing(t *testing.T) {
|
||||
|
||||
@@ -26,9 +26,7 @@ import (
|
||||
"github.com/minio/simdjson-go"
|
||||
)
|
||||
|
||||
var (
|
||||
errBadLimitSpecified = errors.New("Limit value must be a positive integer")
|
||||
)
|
||||
var errBadLimitSpecified = errors.New("Limit value must be a positive integer")
|
||||
|
||||
const (
|
||||
baseTableName = "s3object"
|
||||
|
||||
@@ -30,16 +30,14 @@ const (
|
||||
layoutNanosecond = "2006-01-02T15:04:05.999999999Z07:00"
|
||||
)
|
||||
|
||||
var (
|
||||
tformats = []string{
|
||||
layoutYear,
|
||||
layoutMonth,
|
||||
layoutDay,
|
||||
layoutMinute,
|
||||
layoutSecond,
|
||||
layoutNanosecond,
|
||||
}
|
||||
)
|
||||
var tformats = []string{
|
||||
layoutYear,
|
||||
layoutMonth,
|
||||
layoutDay,
|
||||
layoutMinute,
|
||||
layoutSecond,
|
||||
layoutNanosecond,
|
||||
}
|
||||
|
||||
func parseSQLTimestamp(s string) (t time.Time, err error) {
|
||||
for _, f := range tformats {
|
||||
|
||||
Reference in New Issue
Block a user