From 073020b6c40f030e0cb0837ce44b7c720012d976 Mon Sep 17 00:00:00 2001 From: Luke Young Date: Thu, 1 Sep 2016 22:45:54 -0500 Subject: [PATCH] Add missing 'Type' field to 'GistFile' struct --- github/gists.go | 1 + 1 file changed, 1 insertion(+) diff --git a/github/gists.go b/github/gists.go index 697fcb5..a3327f8 100644 --- a/github/gists.go +++ b/github/gists.go @@ -42,6 +42,7 @@ type GistFilename string type GistFile struct { Size *int `json:"size,omitempty"` Filename *string `json:"filename,omitempty"` + Type *string `json:"type,omitempty"` RawURL *string `json:"raw_url,omitempty"` Content *string `json:"content,omitempty"` }