sharding/utils: Fix Lint (#92)

Former-commit-id: eeb3e8626b2956c37b5730e4ea70898cb9a70c70 [formerly e93169c79c888f006c35b3790f7ae3707c6b2249]
Former-commit-id: 0ccbdb8530e85e13366755615b2c1d251d10f2e8
This commit is contained in:
nisdas 2018-05-08 17:43:47 +08:00
parent 17c0e79f1c
commit ef997fe2f3

View File

@ -27,8 +27,7 @@ func buildblob(size int64) []interface{} {
}
func TestConvertInterface(t *testing.T) {
var slice interface{}
slice = []interface{}{0, 1, 2, 3, 4, 5}
slice := []interface{}{0, 1, 2, 3, 4, 5}
convertedValue, err := ConvertInterface(slice, reflect.Slice)
if err != nil {
t.Fatalf("Error: %v %v", err, convertedValue)