mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-21 00:09:55 +08:00
go fmt
This commit is contained in:
@@ -68,8 +68,6 @@ func TestGjson(t *testing.T) {
|
|||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestJsonQueryRow(t *testing.T) {
|
func TestJsonQueryRow(t *testing.T) {
|
||||||
@@ -133,4 +131,3 @@ func TestJsonQueryNumber(t *testing.T) {
|
|||||||
println(string(buf))
|
println(string(buf))
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -99,4 +99,3 @@ const (
|
|||||||
Bit = Type_BIT
|
Bit = Type_BIT
|
||||||
TypeJSON = Type_JSON
|
TypeJSON = Type_JSON
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@@ -19,7 +19,6 @@ type Value struct {
|
|||||||
val []byte
|
val []byte
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// NewValue builds a Value using typ and val. If the value and typ
|
// NewValue builds a Value using typ and val. If the value and typ
|
||||||
// don't match, it returns an error.
|
// don't match, it returns an error.
|
||||||
func NewValue(typ Type, val []byte) (v Value, err error) {
|
func NewValue(typ Type, val []byte) (v Value, err error) {
|
||||||
@@ -62,7 +61,6 @@ func MakeTrusted(typ Type, val []byte) Value {
|
|||||||
return Value{typ: typ, val: val}
|
return Value{typ: typ, val: val}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// NewInt64 builds an Int64 Value.
|
// NewInt64 builds an Int64 Value.
|
||||||
func NewInt64(v int64) Value {
|
func NewInt64(v int64) Value {
|
||||||
return MakeTrusted(Int64, strconv.AppendInt(nil, v, 10))
|
return MakeTrusted(Int64, strconv.AppendInt(nil, v, 10))
|
||||||
|
@@ -36,8 +36,6 @@ func (vs *VolumeServer) Query(req *volume_server_pb.QueryRequest, stream volume_
|
|||||||
|
|
||||||
if req.InputSerialization.CsvInput != nil {
|
if req.InputSerialization.CsvInput != nil {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if req.InputSerialization.JsonInput != nil {
|
if req.InputSerialization.JsonInput != nil {
|
||||||
|
Reference in New Issue
Block a user