package
Version:
v2.0.0-...-98537dd
Opens a new window with list of versions in this module.
Published: Nov 10, 2022
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func IsBinaryContents(contents []byte) bool
type Gist struct {
ID string `json:"id,omitempty"`
Description string `json:"description"`
Files map[string]*GistFile `json:"files"`
UpdatedAt time.Time `json:"updated_at"`
Public bool `json:"public"`
HTMLURL string `json:"html_url,omitempty"`
Owner *GistOwner `json:"owner,omitempty"`
}
type GistFile struct {
Filename string `json:"filename,omitempty"`
Type string `json:"type,omitempty"`
Language string `json:"language,omitempty"`
Content string `json:"content"`
}
type GistOwner struct {
Login string `json:"login,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.