]> Sergey Matveev's repositories - btrtrc.git/commitdiff
all: gofmt
authoria <isaac.ardis@gmail.com>
Sat, 16 Jun 2018 22:47:12 +0000 (00:47 +0200)
committerMatt Joiner <anacrolix@gmail.com>
Sun, 17 Jun 2018 05:49:58 +0000 (15:49 +1000)
Run standard gofmt command on project root.

- go version go1.10.3 darwin/amd64

Signed-off-by: ia <isaac.ardis@gmail.com>
bencode/decode.go

index 2905aec94554dc56a59f3ef1211322fe3d016281..43f3b0e3a580adb6bf640f7596e148f104b5fdab 100644 (file)
@@ -226,9 +226,9 @@ func getDictField(dict reflect.Value, key string) dictField {
                        })
                }
                return dictField{
-                       Value:                    dict.FieldByIndex(sf.Index),
-                       Ok:                       true,
-                       Set:                      func() {},
+                       Value: dict.FieldByIndex(sf.Index),
+                       Ok:    true,
+                       Set:   func() {},
                        IgnoreUnmarshalTypeError: getTag(sf.Tag).IgnoreUnmarshalTypeError(),
                }
        default: