From b7159b0cd4b25ee3b1a8eb9e0d4991d297487a36 Mon Sep 17 00:00:00 2001 From: Carlos Martín Nieto Date: Tue, 4 Aug 2015 14:47:10 +0200 Subject: Move from an Object interface to a type An Object should be about representing a libgit2 object rather than showing which methods it should support. Change any return of Object to *Object and provide methods to convert between this and the particular type. --- blob.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blob.go') diff --git a/blob.go b/blob.go index b1fc78a..16ec183 100644 --- a/blob.go +++ b/blob.go @@ -18,7 +18,7 @@ import ( ) type Blob struct { - gitObject + Object cast_ptr *C.git_blob } -- cgit v1.2.3