diff options
author | ferhat elmas <elmas.ferhat@gmail.com> | 2016-11-07 20:32:00 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-11-07 20:32:00 +0100 |
commit | 7b0f65f5f5486f5e32f749826744929813734e24 (patch) | |
tree | da3d4bbf7caf3fe5d712fb3a1df9c42fb549ee2c /cshared/objects_cshared.go | |
parent | 0ff9ef2b44c53e557c78bde0fd9c29847e5f0e23 (diff) | |
download | go-git-7b0f65f5f5486f5e32f749826744929813734e24.tar.gz |
gofmt simplify (#111)
Diffstat (limited to 'cshared/objects_cshared.go')
-rw-r--r-- | cshared/objects_cshared.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cshared/objects_cshared.go b/cshared/objects_cshared.go index 17b2e1b..2600555 100644 --- a/cshared/objects_cshared.go +++ b/cshared/objects_cshared.go @@ -90,7 +90,7 @@ func c_Blob_Read(b uint64) (int, *C.char) { if err != nil { return ErrorCodeInternal, C.CString(err.Error()) } - data, err := ioutil.ReadAll(reader) + data, err := ioutil.ReadAll(reader) reader.Close() if err != nil { return ErrorCodeInternal, C.CString(err.Error()) @@ -106,4 +106,4 @@ func c_Blob_Type(c uint64) int8 { } blob := obj.(*git.Blob) return int8(blob.Type()) -}
\ No newline at end of file +} |