Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶ added in v1.2.0
type File ¶
type File struct { Name string `json:"name"` Content string `json:"content"` FullPath string `json:"fullpath"` Page `json:"-"` }
File represents a single file hosted on gist
func (File) HasUpdated ¶ added in v1.2.1
type Gist ¶
type Page ¶
type Page struct { ID string `json:"id"` Description string `json:"description"` User string `json:"user"` URL string `json:"url"` Public bool `json:"public"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Files []File `json:"files"` Repo *git.Repo `json:"-"` }
Page represents gist page itself
Click to show internal directories.
Click to hide internal directories.