]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Code formatting
authorMatt Joiner <anacrolix@gmail.com>
Thu, 13 Jun 2019 03:06:25 +0000 (13:06 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 13 Jun 2019 03:06:25 +0000 (13:06 +1000)
bencode/decode.go

index 13e63f71e74afc9ba5829beb380fbb77bba5bdbe..081a44a715ea7fc7e31d95790a1c8f39a863b9ae 100644 (file)
@@ -243,9 +243,9 @@ func getDictField(dict reflect.Value, key string) dictField {
                        })
                }
                return dictField{
-                       Value: dict.FieldByIndex(sf.r.Index),
-                       Ok:    true,
-                       Set:   func() {},
+                       Value:                    dict.FieldByIndex(sf.r.Index),
+                       Ok:                       true,
+                       Set:                      func() {},
                        IgnoreUnmarshalTypeError: sf.tag.IgnoreUnmarshalTypeError(),
                }
        default: